QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#247946#7626. Quake and Rebuilducup-team123#WA 187ms8272kbC++174.6kb2023-11-11 16:41:412023-11-11 16:41:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 8272kb

input:

4 5
1 2 2
2 2 1 4
1 2 3 1
2 3 2 3 4
1 4 4 1
2 2 3 4

output:

3
4
3

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 5176kb

input:

10 10
1 2 3 3 4 5 7 7 9
1 2 10 3
2 9 9 5 3 10 7 2 4 6 8
1 6 10 3
1 2 7 3
1 7 10 3
2 2 4 3
2 3 7 4 4
1 3 9 3
1 3 9 3
1 10 10 3

output:

10
3
3

result:

ok 3 lines

Test #3:

score: -100
Wrong Answer
time: 187ms
memory: 7068kb

input:

3051 198219
1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 4 4 4 1 1 1 6 3 1 1 2 2 2 1 6 3 7 3 3 5 1 2 7 2 5 1 3 4 1 6 2 1 2 1 10 3 3 1 3 2 2 6 3 9 3 1 12 5 1 5 6 7 7 3 2 6 5 8 12 3 7 16 3 9 4 7 1 2 13 3 3 5 9 9 9 6 5 4 41 8 7 10 7 2 7 2 4 14 4 3 1 16 2 6 3 10 3 4 9 10 1 6 1 14 6 10 8 9 6 3 1 1 1 13 22 4 20 17 1 15 ...

output:

47
47
46
47
46
45
46
46
46
46
44
45
46
46
46
46
45
46
46
46
46
46
46
46
45
45
46
46
46
46
45
46
46
46
45
46
46
46
46
46
46
46
46
46
46
45
45
46
45
46
46
45
46
46
46
46
46
46
46
44
44
46
46
46
46
46
46
45
46
45
46
45
46
46
46
46
46
46
46
45
46
45
46
45
46
46
46
46
46
46
46
46
45
46
45
46
46
46
46
46
...

result:

wrong answer 1st lines differ - expected: '78', found: '47'