QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#877471#5492. Toll RoadsGuanYunchangWA 90ms9576kbC++231.6kb2025-01-31 22:34:392025-01-31 22:34:40

詳細信息

Test #1:

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

input:

4 3 6
1 2 1
2 3 3
3 4 2
1 2
1 3
1 4
2 3
2 4
3 4

output:

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

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 90ms
memory: 9576kb

input:

200000 199999 200000
40203 148773 165038
148773 54931 77889
54931 9912 192188
9912 180491 24730
180491 77332 36976
77332 43929 146532
43929 43341 172446
43341 141304 121793
141304 105828 148202
105828 72010 107746
72010 152016 156358
152016 150074 115703
150074 117105 73900
117105 57831 59264
57831 ...

output:

192188 41
77889 2
195355 182
24730 2
36976 3
172446 20
200000 200000
121793 2
200000 200000
107746 2
200000 200000
195355 182
200000 200000
59264 2
200000 200000
26999 2
156979 16
107615 6
56618 2
200000 200000
156979 16
19719 2
195355 182
178439 35
178439 35
14650 2
21437 3
178439 35
178439 35
2000...

result:

wrong answer 1st lines differ - expected: '165038 3', found: '192188 41'