QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#599540#5492. Toll RoadsOwstinWA 456ms30248kbC++143.1kb2024-09-29 06:20:302024-09-29 06:20:31

详细

Test #1:

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

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: 456ms
memory: 30248kb

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:

165038 3
77889 2
0 0
24730 2
36976 3
146532 4
0 0
121793 2
148202 4
107746 2
0 0
0 0
73900 5
59264 2
0 0
26999 2
0 0
80963 3
56618 2
0 0
63765 3
19719 2
0 0
0 0
72029 4
14650 2
0 0
109944 6
139220 7
0 0
102949 2
0 0
100704 3
75249 2
0 0
101076 2
0 0
0 0
184412 38
81867 2
0 0
35967 2
44987 4
20666 2
...

result:

wrong answer 3rd lines differ - expected: '192188 41', found: '0 0'