QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#250440#7626. Quake and Rebuilducup-team123WA 167ms13796kbC++178.0kb2023-11-13 09:44:512023-11-13 09:44:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 13796kb

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: 2ms
memory: 12056kb

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: 167ms
memory: 12040kb

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:

92
89
81
72
70
57
69
62
57
60
55
61
61
56
54
62
61
58
51
59
50
55
55
59
52
51
53
51
55
54
50
58
49
55
47
54
56
48
51
51
53
55
55
55
49
53
50
55
51
54
51
51
53
49
52
55
57
49
51
49
49
50
53
52
56
51
51
52
49
54
49
54
52
49
51
52
53
49
49
55
53
48
51
52
56
55
56
51
54
49
48
52
54
52
47
52
51
58
49
53
...

result:

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