AnhQuan's blog

By AnhQuan, 10 years ago, In English

This is my solution: problem B and this my solution, I have tested on my machine and it's correct? Why i got wa on test 1?

anyone please test help me? Thankyou!

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

| Write comment?
»
10 years ago, # |
  Vote: I like it +8 Vote: I do not like it

Your array mark is not initialized and will lead to undefined behaviour. Initialize it like 9850661 then the code will pass.