#P3845. [TJOI2007] 球赛
[TJOI2007] 球赛
Output Format
For each testdata, output a single integer , the minimum number of matches that H must have missed.
2
4
1-0
2-0
0-3
2-1
4
5-0
1-3
2-2
0-0
2
3
Hint
In the first testdata, two matches may correspond to 1-0 2-0 0-3 and 2-1.
In the second testdata, three matches may correspond to 0-0, 5-0 3-1, and 2-2.
Constraints: For 100% of the testdata, , , and every score fits in longint(Pascal) / long(C++) ().
Translated by ChatGPT 5
京公网安备 11011102002149号