Thanks
![:smile:](./images/smilies/icon_smile.gif)
Moderator: Board moderators
In the 99% of the cases, Output Limit is done because your program enters an infinite loop, and usually it writes the same output once and another and another... In this case, I think it is related to your non-knowledge of managing EOF.Deimos wrote:I think my problem is the EOF i dunno how to implement it.
i tried several things but if I only get either worng answer cuz it will not enter the while, or Output limit exceeded when it does not get out (still don't get why i get that Output limit exceeded).
Well, maybe I shouldn't have said thatStefan Pochmann wrote:Fernando, can you explain why you can't recommend his input code? This is the way I always did it (well, without the '\n').