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

Автор arnthorla, история, 21 месяц назад, По-английски

I'm really stumped as to why my program outputs '3' on the test server but '4' on my computer.

I even tried to hardcode my solution to output '4' when it encounterd the test case, and that worked. But then interestingly I encounterd a very similar wrong answer in the 3rd batch of tests where my program output '4' but should have output '3'.

I find it kind of strange that in both cases it involves '3' and '4'.

This is my most recent submission: https://codeforces.com/contest/1485/submission/167766068

I'm compiling using: g++ -std=++17 -Wall

Thank you for any suggestions or ideas.

Полный текст и комментарии »

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