Doubt regarding time limit

time limit is given 1 sec and my code time shown is 11 sec.Still it is accepted.
question code is BINTREE from April Challenge 2014!
please explain!

1 Like

The time shown is that for a single test file , the details of which are given in the question i.e. a single file with say t test cases. There are normally multiple files , each having t test cases, on which your code is run to verify its correctness. For example it is given the Challenge problem , Sereja and Permutation has a total of 20 files. Each file has a limit of 1 second