Final exam accounts for 25% of your semester grade.
This exam contains five problems, in which one is for bonus. In order to reduce the possibility of traffic jam, the test cases of some problems are divided into several parts.
The grade of your final exam is computed as follows: Let P1 be 12328, P2 be 13533, P3 be 13939, P4 be 13940-13942, P5 be 13943-13945.
Grade = Score(P1) + Score(P2) + Score(P3) + Score(P4) + Score(P5),
where Score(Pi) is the number of testcases you earned for problem Pi.