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 1028. Stars

Timus computer
Posted by ni4ei 28 Jan 2006 23:11
I have written code of this problem. Than i send it for proving. I've got a time limit. In half hour I send once more and got AC. Somthing wrong with computer timer.
Well... (+)
Posted by Dmitry 'Diman_YES' Kovalioff 28 Jan 2006 23:35
1. As for timelimits in general. If your solution works almost as long as timelimit permits, sometimes you may receive TLE, and sometimes you may receive AC. Execution time depends on many reasons and may vary within several percents.

2. As for your very case. Your solution has get AC within 0.17 sec. It is not very fast, but fast enough to get AC. If your AC and TLE solutions were the same, we are sorry for TLE. But it may happen, and nothing else can be done against it.

Edited by author 28.01.2006 23:36