riyo's blog

By riyo, history, 4 years ago, In English

Can someone find what is the problem in my code? I have been stuck for 4 hours :') https://codeforces.me/contest/1512/submission/113090145

  • Vote: I like it
  • -14
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Consider Case :

1
10 4
????????00000?

According to your code output is -1 where as you can form 10000011000001