QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#575035#7626. Quake and RebuildCustloWA 105ms14032kbC++142.6kb2024-09-19 10:07:292024-09-19 10:07:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 12928kb

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: 105ms
memory: 14032kb

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:

81
81
79
72
72
69
81
81
71
76
74
76
77
76
67
75
79
71
75
71
81
69
75
79
77
69
67
68
73
75
78
75
70
72
71
71
67
63
61
63
71
64
68
69
65
64
61
64
67
68
67
67
66
65
67
62
67
71
66
65
64
65
68
65
65
67
61
63
70
56
63
61
61
65
68
64
58
62
66
52
58
59
69
61
60
69
60
61
60
63
62
63
64
70
56
61
60
64
61
63
...

result:

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