QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#588704#8768. Arrested DevelopmentMaMengQiWA 641ms81420kbC++202.6kb2024-09-25 14:08:102024-09-25 14:08:11

詳細信息

Test #1:

score: 100
Accepted
time: 32ms
memory: 81420kb

input:

4
100 1
1 90
1 20
1 20

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 11ms
memory: 81352kb

input:

2
314 1
592 6

output:

7

result:

ok single line: '7'

Test #3:

score: 0
Accepted
time: 9ms
memory: 81252kb

input:

1
1 1

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 16ms
memory: 81156kb

input:

1
100000 1

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 16ms
memory: 81236kb

input:

1
1 100000

output:

1

result:

ok single line: '1'

Test #6:

score: 0
Accepted
time: 4ms
memory: 81264kb

input:

1
100000 100000

output:

100000

result:

ok single line: '100000'

Test #7:

score: 0
Accepted
time: 585ms
memory: 81240kb

input:

50
78681 95291
22639 1538
12119 52253
50430 63757
66133 92826
61048 40069
33506 30382
96049 50134
42895 62735
86943 16955
9667 61843
49647 9320
29082 16909
69601 68436
19892 34306
29822 79462
73262 14568
1693 35040
89757 61888
56993 48750
89611 77773
54159 21067
32520 41091
52501 92770
36530 17589
5...

output:

855897

result:

ok single line: '855897'

Test #8:

score: 0
Accepted
time: 631ms
memory: 81336kb

input:

50
17109 75621
51243 72763
67210 97483
57809 9601
66344 79911
91593 38930
51920 44188
82765 20595
87230 78655
78390 14375
20216 46782
64273 61631
82422 38207
38700 26994
58768 59731
90891 94282
11999 82480
10537 43098
60805 6845
99773 94421
77415 93587
20930 48902
41915 46679
47122 15869
80233 45051...

output:

970753

result:

ok single line: '970753'

Test #9:

score: 0
Accepted
time: 619ms
memory: 81348kb

input:

50
2550 81408
11829 4584
2219 81395
29614 56561
26962 68531
75540 50942
71976 48185
86117 3694
94775 69554
39370 54004
17957 6603
34705 52269
74564 42575
37808 32963
88311 94915
59023 58486
56638 83516
40308 82531
34419 58020
34265 75871
57754 49876
36742 68905
3307 55011
17936 35479
19498 754
19244...

output:

754695

result:

ok single line: '754695'

Test #10:

score: -100
Wrong Answer
time: 641ms
memory: 81236kb

input:

50
64759 26973
62862 96337
45442 39020
91618 12901
60216 7019
34306 56297
21741 56969
2090 94544
22833 51857
62768 59383
50567 24374
3424 31168
5333 78872
72155 96458
61965 99734
56314 3160
12457 36692
90359 56330
25457 54691
32134 61448
25173 21122
49951 60165
92323 63462
94575 89188
10877 50057
18...

output:

809140

result:

wrong answer 1st lines differ - expected: '798477', found: '809140'