QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#612065#9424. Stop the Castle 2ucup-team3261#WA 96ms6816kbC++204.7kb2024-10-05 03:41:432024-10-05 03:41:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3544kb

input:

3
8 6 4
1 3
2 1
2 6
4 1
4 7
6 1
6 3
6 6
2 3
3 1
4 3
4 6
5 2
6 4
3 2 1
10 12
10 10
10 11
1 4
1 5
1 3 2
1 1
2 1
2 2
2 3

output:

4
2 3 5 6 
2
1 
0
1 2 

result:

ok ok 3 cases (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 96ms
memory: 6816kb

input:

1224
11 17 14
7 3
4 2
8 13
3 15
3 4
5 11
10 2
3 3
8 6
7 11
2 3
10 4
1 3
12 1
2 5
11 9
11 6
11 10
8 15
1 5
9 14
4 11
1 6
10 7
7 6
11 4
8 4
1 11
18 3 2
14 8
2 14
13 13
9 12
14 12
5 6
8 1
10 5
8 6
8 9
6 6
7 5
12 11
6 11
13 5
1 10
7 6
14 5
6 15
2 4
11 1
1 6 4
14 14
13 9
9 3
10 12
7 5
8 13
9 14
1 9 8
4 9...

output:

7
1 2 3 4 5 6 7 8 9 10 11 12 13 15 
15
1 2 
0
1 2 3 4 
0
1 2 3 4 5 6 7 8 
11
1 3 
8
1 2 3 
0
1 2 3 4 5 6 7 8 9 10 11 12 
1
1 2 3 4 5 6 7 
8
1 2 3 
1
1 2 3 4 5 6 7 8 
7
1 2 
10
1 2 3 
1
1 2 3 4 5 6 7 8 10 11 12 
0
1 
1
1 2 
0
1 2 3 
7
1 2 3 4 6 
2
2 4 5 6 7 
4
1 2 3 4 5 6 
1
1 
1
1 2 3 4 5 6 
16
1 2 ...

result:

wrong answer Jury has better answer. Participant's answer is 22 while jury's answer is 21 (test case 211)