ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1222. Chernobyl’ Eagles

TL??
Posted by Kiril Kafadarov 31 Jan 2008 21:58
The time limit is 1 sec and my program works for 3000 for about 0.5 seconds.Why I got TL?
Here's my solution:

[code deleted]

Edited by moderator 02.02.2020 19:25
Re: TL??
Posted by Harut 8 Mar 2012 13:35
your program works endlessly when n is 1;
in other cases your program is right
and also in case when n is 2 your program outputs ' symbol
hope it helps!!!

Edited by author 08.03.2012 13:36

Edited by author 08.03.2012 13:37