QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#134666#5580. Branch Managerlmq26052003WA 626ms44940kbC++202.5kb2023-08-04 13:46:322023-08-04 13:46:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 28640kb

input:

8 5
1 2
4 8
4 6
1 4
2 5
4 7
2 3
5
2
6
4
8

output:

5

result:

ok single line: '5'

Test #2:

score: 0
Accepted
time: 7ms
memory: 29472kb

input:

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

output:

1

result:

ok single line: '1'

Test #3:

score: 0
Accepted
time: 1ms
memory: 28392kb

input:

2 2
1 2
2
2

output:

2

result:

ok single line: '2'

Test #4:

score: 0
Accepted
time: 450ms
memory: 44940kb

input:

200000 200000
161672 172858
146306 146322
61159 61510
140802 145171
194221 195447
73888 80278
77016 77115
1382 1417
186221 195091
78442 78451
171750 172141
147707 151432
182664 182798
143183 147414
156646 162546
6630 6706
18452 18519
99764 99811
153419 153707
125659 129068
179317 185954
13947 14278
...

output:

3563

result:

ok single line: '3563'

Test #5:

score: -100
Wrong Answer
time: 626ms
memory: 42804kb

input:

200000 200000
73559 73695
138868 139314
169919 172147
3308 3348
35604 35605
180658 181072
114345 115218
146174 146449
21102 21786
107951 109513
9726 9970
50 51
154991 159020
49941 50155
4670 4671
90651 90653
76212 81669
173486 173539
143322 143389
191619 193955
14951 15097
136371 141417
59383 60502
...

output:

3213

result:

wrong answer 1st lines differ - expected: '200000', found: '3213'