QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#459822#7610. Bus LinesedxWA 65ms20592kbC++144.8kb2024-06-30 13:56:262024-06-30 13:56:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 17632kb

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: 0ms
memory: 17628kb

input:

2
1 2
1
1 2

output:

1 1

result:

ok single line: '1 1'

Test #3:

score: -100
Wrong Answer
time: 65ms
memory: 20592kb

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:

35594 36988 34711 38812 36570 35073 34325 44568 35152 36563 36100 40996 36381 34996 37430 36119 35197 38903 35927 55003 36669 36424 40876 37450 37598 33486 35559 39610 37743 34768 52557 42239 35807 37360 38413 41562 37323 51052 36708 41190 36375 37414 38499 37031 43198 36095 34538 36584 35587 40102 ...

result:

wrong answer 1st lines differ - expected: '34355 34048 34070 34152 33992 ...5 34333 33814 33294 34266 34337', found: '35594 36988 34711 38812 36570 ...2 34357 34563 34075 37176 35696'