About timelimit

WHenevr i submit an answer i get a mail which shows time to run and memory consumed.is the time shown is time limit or time in which my program ran?
example
for a problem
timelimit given as 3 sec
when i submit i got timelimit exceeded
in mail it shows
Below are the stats of your submission:

Submission Time: 2013-03-11 11:39:44 IST
Submission Status: Time Limit Exceeded
Time to run: 3.01sec
Memory consumed: 3332KB
Language submitted in: C++ 4.3.2

is my running time 3.01 sec or is it showing actual time limit???

@saladi_satish : It means that your program ran for 3.01 seconds and was still running , but since it has exceeded the time limit the system killed it . So you actually don’t know how much time it would have taken to complete , but you know that it didn’t complete in 3 seconds .

7 Likes

ok thank u very much

@saladi_satish: Please accept the answer and show some love by voting if it answers your question.

2 Likes
//