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

Автор smhh22, история, 5 лет назад, По-английски

Hi. In my system, the output for problem 1077D, TC3 is "1 1", but the judge gives WA, and says my output was "1869767529 546111684". My submission is: 45829660 What's wrong?

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

»
5 лет назад, # |
  Проголосовать: нравится +14 Проголосовать: не нравится

Debug by smell: The output smells like a garbage! Looks for uninitialized variable, out of bound access.
Oh! you have a loop accessing a[i] and then storing it to t. Are you sure that 'i' is within the bound?