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

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

What that meas "Idleness limit exceeded"

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

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

Most of the time that sounds like a problems with I/O. Please notice, that in task you're trying to submit, there are input and output files and not stdin/stdout. So, when it gets to cin, it just idles, awaiting that someone comes to the test machine and enters data. Which probably isn't going to happen. Hope that helps!

»
15 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +13 Проголосовать: не нравится

The problem has input file input.txt and output file output.txt (you can see this in the top of the problem statement). This is not typical for Codeforces, but you need to uncomment your freopen code (with input.txt and output.txt as I/O, of course).