Блог пользователя AnhQuan

Автор AnhQuan, 11 лет назад, По-английски

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!

  • Проголосовать: нравится
  • -10
  • Проголосовать: не нравится

»
11 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

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