QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#80365#3042. Hilbert's Hotelybw051114#WA 4ms21736kbC++147.2kb2023-02-23 15:35:252023-02-23 15:35:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 20204kb

input:

10
3 0
1 3
2 1 2
1 0
3 10
2 2 5
1 5
1 0
3 5
2 3 3

output:

0
1
0
9
4
4

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 21736kb

input:

16
2 0 8
2 0 4
3 7
3 5
2 0 8
3 6
1 0
3 8
2 0 2
1 2
2 2 1
2 2 1
1 6
1 1
3 4
2 3 2

output:

15
7
0
0
15
0
0
6
0
0
2
2

result:

wrong answer 1st lines differ - expected: '7', found: '15'