soba's blog

By soba, history, 5 years ago, In English

In Facebook hacker cup I submitted a code in the first problem "leapfrog ch.1 " and after the contest I got WA , then I submitted the same code in the same problem on gym https://codeforces.com/gym/102249/attachments?mobile=false and I got AC so what is the wrong in my code ? And if it is correct why I got WA in facebook hacker cup ?

My code : https://ideone.com/6R8ChG

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

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

Have you seen this?

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

    Yes , in his case he submitted an incorrect submission after the correct one , but I only made one submission !