13116 - ReadFirst for I2P2 Mid2 Exam   

Description

1. Grading
  • Mid2 exam accounts for 15% of your semester grade.
  • This exam contains three problems. In order to reduce the possibility of traffic jam, the test cases of some problems are divided into several parts.
  • The grade of your mid2 exam is computed as follows:
    Let P1 be 12261
    , P2 be 13910-13912, P3 be 13914-13916.
    Grade = Score(P1) + Score(P2
    * 0.5 + Score(P3) * 0.5,
    where Score(Pi) is the number of testcases you earned for problem Pi.
  • There are totally 15 points.
2. Recommended problem-solving order
  • {12261} --> {13910-13912} --> {13914-13916}

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss