Guys, I really think this problem should be reformulated or taken of the book. After 20+ failed submissions, I managed to think in a specific test case:
This is the input:
Code: Select all
1
1 A 100:00 Y
2 B 100:00 Y
3 C 100:00 Y
4 D 100:00 Y
5 E 100:00 Y
6 F 100:00 Y
7 G 100:00 Y
8 H 100:00 Y
9 I 100:00 Y
10 J 100:00 Y
11 L 100:00 Y
12 M 100:00 Y
13 N 100:00 Y
14 O 100:00 Y
15 P 100:00 Y
16 Q 100:00 Y
17 R 100:00 Y
18 S 100:00 Y
19 T 100:00 Y
20 U 100:00 Y
21 V 100:00 Y
22 X 100:00 Y
23 K 100:00 Y
24 W 100:00 Y
25 Y 100:00 Y
This is the correct output:
Code: Select all
RANK TEAM PRO/SOLVED TIME
1 1 1 6000
1 2 1 6000
1 3 1 6000
1 4 1 6000
1 5 1 6000
1 6 1 6000
1 7 1 6000
1 8 1 6000
1 9 1 6000
1 10 1 6000
1 11 1 6000
1 12 1 6000
1 13 1 6000
1 14 1 6000
1 15 1 6000
1 16 1 6000
1 17 1 6000
1 18 1 6000
1 19 1 6000
1 20 1 6000
1 21 1 6000
1 22 1 6000
1 23 1 6000
1 24 1 6000
1 25 1 6000
Among all the wrong things in the problem description, this is the most hideous one. He says that the problem letter goes from A to G:
Problem Letter(A..G)
Guess what ? It goes from A to f***ing Z.