Siriuslight's blog

By Siriuslight, history, 7 years ago, In English

Some people have done k=k%1024, I don't understand why? Can someone tell me.

Problem link here.

  • Vote: I like it
  • +6
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it
  • »
    »
    7 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Still can't understand, Can u please explain it?

    • »
      »
      »
      7 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      Explain? The solution is WRONG. It passes due to weak sys-tests. For example input see the above link.