CarlosG's blog

By CarlosG, 15 years ago, In English

What that meas "Idleness limit exceeded"

  • Vote: I like it
  • +8
  • Vote: I do not like it

»
15 years ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

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 years ago, hide # |
← Rev. 2  
Vote: I like it +13 Vote: I do not like it

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).