QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#427205#8768. Arrested Developmentucup-team3559#WA 142ms411224kbC++14847b2024-06-01 11:00:232024-06-01 11:00:24

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 11836kb

input:

4
100 1
1 90
1 20
1 20

output:

3

result:

ok single line: '3'

Test #2:

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

input:

2
314 1
592 6

output:

7

result:

ok single line: '7'

Test #3:

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

input:

1
1 1

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 0ms
memory: 5620kb

input:

1
100000 1

output:

1

result:

ok single line: '1'

Test #5:

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

input:

1
1 100000

output:

1

result:

ok single line: '1'

Test #6:

score: 0
Accepted
time: 0ms
memory: 7640kb

input:

1
100000 100000

output:

100000

result:

ok single line: '100000'

Test #7:

score: 0
Accepted
time: 95ms
memory: 407260kb

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: 107ms
memory: 407892kb

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: 88ms
memory: 404460kb

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: 0
Accepted
time: 104ms
memory: 406696kb

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:

798477

result:

ok single line: '798477'

Test #11:

score: 0
Accepted
time: 87ms
memory: 405028kb

input:

50
8622 29825
57979 55798
31606 96145
3558 45314
67048 19137
67175 15021
37056 86916
82776 16914
95316 38160
23433 56173
84290 72066
38559 14176
78993 75303
80449 98957
48770 58776
32070 64481
27986 53685
8644 24421
6169 48306
47235 87833
56602 55145
42049 48183
67529 45098
59614 2677
28681 91223
41...

output:

728195

result:

ok single line: '728195'

Test #12:

score: 0
Accepted
time: 121ms
memory: 409100kb

input:

50
8275 20925
36245 60136
80833 89579
13726 68195
5926 57672
23314 24437
93773 69944
112 69042
97503 36030
23084 66672
30960 95513
93838 6750
86803 30802
87208 23813
67432 64738
26471 57724
78947 49734
73163 88917
98894 22038
94548 99994
17746 244
94634 79194
63478 55631
64594 60211
85030 7236
7883 ...

output:

896305

result:

ok single line: '896305'

Test #13:

score: 0
Accepted
time: 113ms
memory: 406972kb

input:

50
50516 86783
20312 35286
96763 65497
36202 1971
53208 85869
47391 40538
62025 43509
11900 96005
28080 31585
94083 52370
2789 10448
28553 2987
2434 19970
34087 63707
64787 37321
4042 61556
6448 210
12330 55537
69114 64750
30123 37282
89688 39661
52787 96907
57369 18755
90674 8190
95517 61057
65741 ...

output:

782021

result:

ok single line: '782021'

Test #14:

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

input:

50
21604 58064
4811 82198
1892 26868
69642 18120
2923 90470
88257 55257
67584 9989
27390 18655
66703 89544
21426 56578
16925 2431
83003 89818
25396 75937
53500 686
39823 972
85628 42185
89446 93898
17997 23146
35408 48739
3286 95461
27039 33365
89928 72488
48238 44495
72663 29240
61572 19186
49153 6...

output:

763371

result:

ok single line: '763371'

Test #15:

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

input:

50
6951 96085
8356 35272
26312 29340
58280 55226
88395 51132
21731 30856
35151 68734
25097 384
90755 16463
74834 74986
29728 67047
24161 12839
66610 95982
48472 23897
74546 3822
35223 75045
5639 38099
55062 12620
73587 83968
94167 55772
6041 64527
16258 81719
72720 4362
30165 88032
40426 57180
76053...

output:

850136

result:

ok single line: '850136'

Test #16:

score: 0
Accepted
time: 115ms
memory: 409024kb

input:

50
60214 78262
96367 44440
85703 81051
76722 58784
21378 66099
29905 59698
81256 94871
98562 81474
46201 27451
72257 17676
83239 72521
4543 14451
51613 89813
57588 39806
86207 40216
21815 29282
94691 32397
38645 23100
70563 44650
69898 87845
67697 83223
89364 37966
84628 32149
68296 44289
10493 7889...

output:

964259

result:

ok single line: '964259'

Test #17:

score: 0
Accepted
time: 118ms
memory: 411072kb

input:

50
13889 54991
89836 50558
60196 70127
74941 37191
91837 24590
70210 94700
72914 29471
34423 57248
43912 74293
79883 55841
69470 98031
59079 36957
37726 18928
81596 43370
28903 41855
23671 93661
74831 45852
75218 95853
3202 8128
69497 54324
27472 66239
78684 83211
63307 64919
81537 37141
62131 44302...

output:

929433

result:

ok single line: '929433'

Test #18:

score: 0
Accepted
time: 92ms
memory: 407668kb

input:

50
81941 16314
31120 25512
75892 45332
67361 64149
28466 2443
24373 98146
38225 59262
97702 82723
29821 37167
16565 38514
13717 97134
35924 4754
76054 27500
48159 96214
41989 96059
90832 87118
90749 2273
19103 9377
77027 73689
7327 34903
27175 89830
54058 55764
85582 68227
18084 66714
65859 11743
53...

output:

871954

result:

ok single line: '871954'

Test #19:

score: 0
Accepted
time: 80ms
memory: 405000kb

input:

50
81209 24516
12632 36045
52441 10301
12010 10122
7857 80927
68123 73547
71852 58779
87339 54339
29158 45148
85012 41091
18660 48688
99171 57128
60280 87079
9407 72482
737 38833
8488 14103
45665 33892
66290 82153
50986 7993
26442 12493
92371 3668
21717 68185
12007 5932
74223 65760
51422 273
36332 3...

output:

730963

result:

ok single line: '730963'

Test #20:

score: 0
Accepted
time: 103ms
memory: 408980kb

input:

50
71600 54858
51833 27211
49781 48702
91168 63659
63842 99778
5058 14219
38818 17607
51485 41435
95411 34398
81226 89263
74252 50158
6849 20139
21898 73448
79398 72552
94218 66036
17098 88176
30057 41759
52799 49311
14967 35004
44940 47166
3552 89146
9958 2813
26563 68076
58993 99922
32267 83279
77...

output:

835518

result:

ok single line: '835518'

Test #21:

score: 0
Accepted
time: 110ms
memory: 407056kb

input:

50
48550 99218
65982 76848
68700 27535
63807 73875
69495 27867
26019 38668
31097 26859
53122 56036
18451 50273
51 85109
23874 84800
96365 97195
8353 28074
61240 23575
77338 66843
33954 85722
57831 57755
66506 67373
88611 42976
81341 36912
4123 82820
89395 98014
11768 38458
79386 9324
30476 12658
503...

output:

785509

result:

ok single line: '785509'

Test #22:

score: 0
Accepted
time: 136ms
memory: 409084kb

input:

50
83863 26992
79473 28730
74487 47270
97447 4816
42403 68835
26759 81794
53727 25785
80748 44301
89559 8912
84340 74774
98778 90899
73069 92168
66206 84560
78259 33100
25453 4663
76937 72572
21355 10093
80408 70931
56735 33768
26169 79364
14731 46465
41473 64646
64908 32725
88962 33147
43379 38546
...

output:

899288

result:

ok single line: '899288'

Test #23:

score: 0
Accepted
time: 116ms
memory: 407056kb

input:

50
41356 16205
12733 92325
78063 81273
89256 46061
53711 29556
4506 56182
57100 89292
56622 39243
28791 86630
51403 2941
30488 36241
3450 18427
3856 61027
93859 55584
1632 99974
16656 40748
18119 73446
36977 27846
93922 96612
45674 38219
9147 10395
29883 15252
92514 15150
80780 1187
71460 92440
8319...

output:

836274

result:

ok single line: '836274'

Test #24:

score: 0
Accepted
time: 87ms
memory: 407048kb

input:

50
49387 84752
91407 75969
50757 34909
44111 91014
14268 28536
77128 1688
47480 27539
69198 93268
49189 64313
97845 76939
23581 16696
68707 8626
16739 94013
27091 69292
59228 75581
59192 22040
86243 77192
29319 68724
23958 28306
11011 43483
35469 15160
21251 40961
4356 51282
74733 7645
85586 26432
5...

output:

741783

result:

ok single line: '741783'

Test #25:

score: 0
Accepted
time: 135ms
memory: 411072kb

input:

50
10563 76045
51887 27576
86636 49891
66789 67901
49315 36941
86698 13074
98959 69916
45996 71267
75890 65663
77971 72533
31902 59059
6213 62590
91393 26159
45173 24874
91102 24718
30342 45564
59425 87438
33789 77462
66361 34549
80873 2508
97308 39148
41399 34035
79436 93456
94615 74591
56177 4313
...

output:

886637

result:

ok single line: '886637'

Test #26:

score: 0
Accepted
time: 142ms
memory: 409288kb

input:

50
17245 42421
55771 59830
3051 45956
49366 79845
89939 16511
39197 23782
1683 88992
44170 7932
13600 74574
81350 60271
70412 2241
80450 85080
75071 86885
41919 66115
18899 19692
85089 1580
35042 3890
79181 22237
67475 12597
74690 37007
64821 42025
54906 90061
97919 27554
26978 74616
53523 84207
535...

output:

943863

result:

ok single line: '943863'

Test #27:

score: 0
Accepted
time: 97ms
memory: 407116kb

input:

50
46873 52842
80018 89207
5188 56419
38220 9512
52111 80177
23221 23149
56333 81614
66899 68547
5017 6885
83108 21237
93982 75414
91079 86264
79858 13948
90719 64042
13960 20613
76859 9847
46209 92288
11408 37807
85542 3636
29650 19807
80354 88977
32210 75675
45435 84246
32931 79485
53519 45595
120...

output:

782248

result:

ok single line: '782248'

Test #28:

score: 0
Accepted
time: 94ms
memory: 404888kb

input:

50
99035 33241
88047 35751
89459 19490
67378 97304
13433 53823
39087 71163
35684 23951
38027 93041
35651 88211
56395 94774
2367 15003
63008 9849
22670 66872
59071 38686
2087 27344
3150 23801
63715 84327
72107 38894
6291 79679
2125 42102
71682 13342
87569 74417
21830 3266
49254 27793
59391 89921
9427...

output:

758040

result:

ok single line: '758040'

Test #29:

score: 0
Accepted
time: 124ms
memory: 409024kb

input:

50
67209 54057
44132 88022
559 42330
95214 41236
36344 61162
60071 939
86690 36776
9414 97400
50705 97632
42873 18052
51887 96588
70734 95009
51442 88065
6953 72086
49184 71025
66997 20064
66829 31590
88799 12581
67459 19799
47615 91757
85043 71840
31677 70032
96610 36598
40588 67293
4368 31896
8497...

output:

853492

result:

ok single line: '853492'

Test #30:

score: 0
Accepted
time: 92ms
memory: 407124kb

input:

50
12260 6360
89046 81108
13135 65222
53441 74453
80406 60022
42648 53319
65631 60319
16140 34830
52713 49159
86399 11604
46800 62753
47439 20818
17356 44568
97307 84736
49006 58366
96377 20232
31955 35490
85988 87959
68169 68317
4080 71823
30289 4790
19233 94643
55042 32094
34952 70457
9201 81741
7...

output:

759339

result:

ok single line: '759339'

Test #31:

score: 0
Accepted
time: 130ms
memory: 407032kb

input:

50
94541 67819
24628 22251
51870 91188
13545 22273
44103 53886
16959 43626
11871 48700
56518 71529
52911 15551
45257 26753
35680 27166
93125 55468
35475 32289
53151 11026
94905 62821
68450 73782
86812 43582
92536 94925
112 79027
6875 33986
99540 83744
47160 30970
24119 95621
74258 20226
9797 51745
7...

output:

893348

result:

ok single line: '893348'

Test #32:

score: 0
Accepted
time: 96ms
memory: 408984kb

input:

50
35848 82668
92511 86441
72474 59795
30365 79347
31540 54073
65457 4810
5343 76048
45093 23416
27093 15346
12554 16038
13481 19321
55380 8395
16975 32280
21880 46814
94435 56670
17316 38516
2746 29067
54968 33589
44761 89514
78257 8931
41143 9115
40998 69941
28541 10353
77996 80660
84203 8743
8569...

output:

963244

result:

ok single line: '963244'

Test #33:

score: 0
Accepted
time: 88ms
memory: 405008kb

input:

50
93479 44940
98226 70056
20707 44768
41686 50450
30282 66662
13885 38506
77465 26782
34151 58661
62122 44435
29966 66479
19608 44986
39457 90296
10760 63115
30913 58363
297 93950
63350 61709
23863 94365
45025 94269
42782 2580
47392 66463
16517 8357
49521 28301
58942 3887
9606 5402
38550 86013
4958...

output:

751614

result:

ok single line: '751614'

Test #34:

score: 0
Accepted
time: 86ms
memory: 406968kb

input:

50
18308 4176
28110 83697
15752 84144
14926 18820
85798 62466
54456 76853
50339 28463
39744 72119
601 32384
20933 46430
59867 93592
23805 45200
85145 51093
80747 26937
56634 1810
1261 89876
73938 64193
74402 89376
11945 24960
13011 92676
42065 50915
93056 18320
17828 35307
58112 35054
48163 5190
158...

output:

762131

result:

ok single line: '762131'

Test #35:

score: 0
Accepted
time: 108ms
memory: 404924kb

input:

50
52819 34385
17163 56678
35577 51014
52253 87726
28048 93695
80278 12590
19830 93871
45615 62824
65579 58980
21161 74968
40625 68176
56336 38818
10996 64863
86503 47885
33847 69889
356 11599
54482 41977
94976 47526
74256 510
21226 37728
14478 21161
29888 76998
329 15935
80005 27046
19102 14102
162...

output:

773472

result:

ok single line: '773472'

Test #36:

score: 0
Accepted
time: 114ms
memory: 411064kb

input:

50
41721 95068
92722 93503
50616 90590
25270 94493
86405 98944
86281 28142
68974 22421
30663 86705
1946 12425
47664 13067
14339 57710
79312 49840
54332 65004
49425 63491
57624 50344
44535 71749
74364 83667
11169 75801
42254 84995
80248 43280
43277 22122
50841 82914
78057 94029
79200 97057
42954 2054...

output:

938636

result:

ok single line: '938636'

Test #37:

score: 0
Accepted
time: 115ms
memory: 411224kb

input:

50
96601 60614
88229 8366
88201 80517
94795 69761
56777 47261
26659 30479
60016 69217
65450 6359
88772 23135
32530 60537
49902 12592
53899 33874
15736 75820
65151 94342
354 98001
86972 59577
42991 76465
1292 21570
9613 78341
56558 99204
42760 4358
69433 4414
50211 74641
80728 19655
79518 17628
31716...

output:

800018

result:

ok single line: '800018'

Test #38:

score: 0
Accepted
time: 117ms
memory: 409016kb

input:

50
89201 45880
69804 50493
26178 66143
55960 41753
49879 59560
38228 93291
90107 71595
89539 76802
84858 31367
77116 51519
73473 75593
83775 5215
52241 37093
37031 64229
12343 30963
97259 18994
30517 39872
11227 7682
46444 39920
76942 71563
6251 20555
69265 20365
27679 2044
32286 76229
45072 82836
3...

output:

940285

result:

ok single line: '940285'

Test #39:

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

input:

50
61000 62945
42403 64797
25541 72524
56631 25012
91818 11034
58483 12945
44295 76382
74520 12855
65995 95911
87925 45389
42966 3606
1944 40266
58099 24073
90601 79074
6099 63858
10816 98566
51313 25550
67251 97319
41871 48717
66148 69002
91432 58548
83813 45317
54131 86694
96533 29414
51308 36997
...

output:

936350

result:

ok single line: '936350'

Test #40:

score: 0
Accepted
time: 114ms
memory: 411152kb

input:

50
72539 11620
66586 91029
85502 29764
43568 53300
27232 78556
97273 66058
92810 19677
13789 49992
98762 69701
92757 98547
32739 70418
7308 9221
63104 1876
95098 53688
70948 35989
73135 7320
34811 85698
79008 67690
36115 67178
45787 5789
59232 3812
73592 74415
25767 87634
89669 16273
90838 44886
669...

output:

896958

result:

ok single line: '896958'

Test #41:

score: 0
Accepted
time: 133ms
memory: 411216kb

input:

50
87570 9735
40498 9733
47712 81609
23501 13550
69419 67497
46175 20366
64582 41868
82814 80643
2592 7109
17240 57784
52577 15286
76381 48149
66039 39555
93849 72970
76063 10676
8527 90043
35971 41553
59469 71172
55444 5020
11073 59032
72141 56848
98721 11280
26009 84460
83942 52742
12752 2391
8141...

output:

931404

result:

ok single line: '931404'

Test #42:

score: -100
Wrong Answer
time: 103ms
memory: 409172kb

input:

50
769 83872
56983 88423
61246 98184
95717 40580
17321 27036
13060 92315
59143 74483
81933 27848
75330 14799
74100 78670
80833 67473
27872 64534
14199 8927
62885 30505
91648 52533
16268 75847
90574 54319
37166 18376
26228 82287
87470 97312
29980 71453
79556 53280
52295 63740
27587 88862
21224 39532
...

output:

1045488

result:

wrong answer 1st lines differ - expected: '1045467', found: '1045488'