I want to know the time limit set for problems with many test cases is actually the time limit for one test case ? or for all the test cases put together for a single run. Eg if a problem is being tested for 10000 test cases. Question may sound silly but please clarify.
I also want to know if a strategy for caching the results will be a good idea :). If total time of all test cases is the limit , then we stand to benefit here.