QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#353483#7610. Bus Linesucup-team241WA 115ms71640kbC++206.7kb2024-03-14 09:56:172024-03-14 09:56:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

6 9 9 10 7 7 

result:

ok single line: '6 9 9 10 7 7 '

Test #2:

score: 0
Accepted
time: 8ms
memory: 38392kb

input:

2
1 2
1
1 2

output:

1 1 

result:

ok single line: '1 1 '

Test #3:

score: -100
Wrong Answer
time: 115ms
memory: 71640kb

input:

16384
9137 490
3442 7239
1621 6904
13769 10250
14672 12572
14906 9437
6163 12339
15244 12016
3022 8670
3211 9106
11966 14817
15798 15876
6423 7394
894 7695
13877 1983
16342 15158
13574 15932
15125 10722
6989 15683
10335 8801
12301 4246
6166 3893
9347 12073
7897 12195
6510 3101
4526 15385
7017 7001
4...

output:

35217 34327 35251 34382 34129 34306 34381 48264 34341 34187 34359 34354 35080 34796 34105 35216 34290 34141 34179 50595 35201 34163 34877 34154 34277 34470 34156 34153 34419 34081 50541 34220 34195 34044 34504 34854 34124 50754 34360 34265 34891 34098 34269 34391 34199 34344 35157 35186 34065 34182 ...

result:

wrong answer 1st lines differ - expected: '34355 34048 34070 34152 33992 ...5 34333 33814 33294 34266 34337', found: '35217 34327 35251 34382 34129 ... 35622 34045 34142 34326 34551 '