StellarSpecter's blog

By StellarSpecter, history, 4 hours ago, In English

2004E - Not a Nim Problem

My code snippet

Whats wrong, its giving WA on testcase 3, 140th value differs found BOB correct Alice.

I'm struggling for 10 hours with this

UPD: haha what a funny bug. Thanks to WhisperingWillow

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

»
3 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

is N >= 1e7 + 1?

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    N is upto 1e7

    • »
      »
      »
      3 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      In your submission , I can see N = 3e5 + 5

    • »
      »
      »
      3 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      change line 10 : i % 2 -> j % 2

»
3 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

wtf is thanks for meta facebook