790 - Head Judge Headache

All about problems in Volume 7. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 790 - Head Judge Headache

Post by brianfry713 » Thu Feb 12, 2015 10:14 pm

Don't double post.
Input:

Code: Select all

1

1 A 0:50 N
3 A 1:12 Y
2 B 1:19 N
1 A 1:20 Y
2 B 1:35 N
1 B 1:36 N
3 B 1:40 Y
3 C 1:41 N
4 A 1:40 Y
9 D 0:20 Y
AC output:

Code: Select all

RANK TEAM PRO/SOLVED TIME
   1    3    2        172
   2    9    1         20
   3    1    1        100
   3    4    1        100
   5    2
   5    5
   5    6
   5    7
   5    8
Check input and AC output for thousands of problems on uDebug!

BlackBeard
New poster
Posts: 18
Joined: Wed Dec 17, 2014 9:44 pm

Re: 790 - Head Judge Headache

Post by BlackBeard » Sat Feb 14, 2015 12:21 am

I got AC. But can you explain why the last 5 teams in the output should be in rank 5 instead of rank 4? It doesn't make sense...

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 790 - Head Judge Headache

Post by brianfry713 » Tue Feb 17, 2015 11:27 pm

There are 2 teams tied for rank 3.
Check input and AC output for thousands of problems on uDebug!

taraprasad73
New poster
Posts: 1
Joined: Sat Jun 04, 2016 4:46 pm

Re: 790 - Head Judge Headache

Post by taraprasad73 » Sat Jun 04, 2016 4:51 pm

My code is able to pass both test cases present in UDEBUG but still I am getting a WA verdict on the judge. Any suggestions?

Filipe Herculano
New poster
Posts: 2
Joined: Thu Sep 29, 2016 2:52 am

Re: 790 - Head Judge Headache

Post by Filipe Herculano » Fri Oct 14, 2016 10:11 pm

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.
:evil:

Post Reply

Return to “Volume 7 (700-799)”