Is the time limit of a problem for each single test case or all test cases?

I know there is a time limit for each problem. Just want to know if the time limit of a problem the limit for each single test case or the combination of all test cases(i.e. sum of all the runtime.)

I ask this question merely beause I want to know how to make my code conciser while keeping it correct in a contest.

Comments (1)