QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#424431#8732. Zečevimonstersqwq21 2196ms21028kbC++176.1kb2024-05-29 10:12:512024-05-29 10:12:51

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 9
Accepted

Test #1:

score: 9
Accepted
time: 2196ms
memory: 20544kb

input:

1 100000
25117044 970963458
373893849 968275175
426927003 756404237
402749243 884153855
655982073 231540010
925839527 380078009
580079136 593952762
505135862 82095067
52931312 190936477
921699044 178656266
22689680 495676031
439196655 96470058
508403382 453576184
728333782 206229498
227588452 887461...

output:

48772599075036

result:

ok 1 number(s): "48772599075036"

Test #2:

score: 9
Accepted
time: 2150ms
memory: 21004kb

input:

1 100000
2033786 701332275
425793984 100641701
791989716 91816064
729205086 630057419
128219506 625052640
946256338 430845673
49961714 406789641
320023538 493235898
124624293 153525734
12609738 732965886
164381879 595730434
870380571 604015896
817352253 354163189
543418085 277237438
517916847 853100...

output:

49887362883766

result:

ok 1 number(s): "49887362883766"

Test #3:

score: 9
Accepted
time: 2145ms
memory: 20720kb

input:

1 100000
42752820 122926409
10513202 836122032
810112260 169484171
599386731 844238794
981228176 849710441
374165341 461389522
225540019 875636296
980026848 262331868
968727347 672445689
891073264 161158988
646651074 368927855
120467285 916656970
480861097 457383460
656857845 965285555
862807432 941...

output:

47874399443765

result:

ok 1 number(s): "47874399443765"

Test #4:

score: 9
Accepted
time: 1648ms
memory: 20780kb

input:

1 100000
45772116 978871680
436898166 365158248
732294552 488461892
109283264 904017928
481282469 365782765
149950749 558650411
637756555 761954186
441342826 245462952
837682335 825241583
231785990 856221029
865481036 890572033
713521646 284438736
937611078 690679712
48500295 268860937
701774950 907...

output:

47794145143247

result:

ok 1 number(s): "47794145143247"

Test #5:

score: 9
Accepted
time: 2118ms
memory: 20620kb

input:

1 100000
54417600 455585786
185157112 23259714
235040467 851577574
357897786 945899735
100775093 679820579
205023325 988165434
825564014 253769836
202188435 59892940
337396895 514922202
658461608 769509576
241359680 886440279
258711817 564489459
565017776 549386805
901984139 145266237
3641050 935060...

output:

47119066086794

result:

ok 1 number(s): "47119066086794"

Test #6:

score: 9
Accepted
time: 1666ms
memory: 21012kb

input:

1 100000
71480876 782458735
418412356 4433
418416789 7359
418424148 3577
418427725 6204
418433929 2537
418436466 6358
418442824 4124
418446948 2713
418449661 6258
418455919 6637
418462556 2331
418464887 2262
418467149 2504
418469653 3744
418473397 688
418474085 4975
418479060 2061
418481121 5928
418...

output:

1608752150

result:

ok 1 number(s): "1608752150"

Test #7:

score: 9
Accepted
time: 1684ms
memory: 20872kb

input:

1 100000
70736826 689941541
202494343 3048
202497391 2446
202499837 6318
202506155 303
202506458 5886
202512344 4048
202516392 4537
202520929 427
202521356 1944
202523300 2478
202525778 5925
202531703 1224
202532927 224
202533151 5051
202538202 6119
202544321 836
202545157 5106
202550263 3864
202554...

output:

1592473193

result:

ok 1 number(s): "1592473193"

Test #8:

score: 9
Accepted
time: 1661ms
memory: 21028kb

input:

1 100000
90679177 731208489
444799446 7049
444806495 5992
444812487 656
444813143 2762
444815905 3073
444818978 257
444819235 6057
444825292 5667
444830959 6211
444837170 450
444837620 5923
444843543 7081
444850624 2076
444852700 2823
444855523 5443
444860966 2184
444863150 6344
444869494 2041
44487...

output:

1474188594

result:

ok 1 number(s): "1474188594"

Test #9:

score: 9
Accepted
time: 1691ms
memory: 20832kb

input:

1 100000
99481748 781962846
427794638 4239
427798877 5115
427803992 4376
427808368 5084
427813452 6302
427819754 7063
427826817 6196
427833013 6369
427839382 4255
427843637 2647
427846284 4303
427850587 7261
427857848 2929
427860777 1817
427862594 7754
427870348 5113
427875461 621
427876082 3819
427...

output:

1625835386

result:

ok 1 number(s): "1625835386"

Test #10:

score: 9
Accepted
time: 1717ms
memory: 20844kb

input:

1 100000
16521427 168641806
48125403 944
48126347 1560
48127907 83
48127990 85
48128075 1008
48129083 922
48130005 438
48130443 1454
48131897 1056
48132953 492
48133445 1347
48134792 689
48135481 156
48135637 515
48136152 1665
48137817 58
48137875 732
48138607 567
48139174 687
48139861 1072
48140933...

output:

389963535

result:

ok 1 number(s): "389963535"

Subtask #2:

score: 12
Accepted

Test #11:

score: 12
Accepted
time: 21ms
memory: 7968kb

input:

100000 1
866301171 366511673
782130035 523593023
210159324 951803750
33819604 974027339
517904111 963671594
281974787 391051697
568097534 965085338
81004963 640086904
211218893 397278600
614725688 4366212
269152510 559992280
327491679 276555612
630131521 503842459
15556017 382637565
444080049 985512...

output:

1745

result:

ok 1 number(s): "1745"

Test #12:

score: 12
Accepted
time: 21ms
memory: 8140kb

input:

100000 1
602052974 747930871
526492952 570148581
533976658 194147542
178657958 99194566
225173261 577928477
516902495 724134685
601150433 924258430
567498378 534418876
488767427 577178596
272110248 850482707
76905239 32663753
295653369 667089720
95647198 469443114
260333259 658091403
516052242 82742...

output:

3011

result:

ok 1 number(s): "3011"

Test #13:

score: 12
Accepted
time: 14ms
memory: 7964kb

input:

100000 1
62539585 679422422
292493838 651257494
18409931 47903905
667787194 128774888
124839461 365507846
23418045 612484173
406280354 862649934
843234438 905245338
400001312 225717248
755168314 822417263
515758415 201237721
556110002 980912248
173338563 53323238
246379086 756633035
337266161 257609...

output:

1262

result:

ok 1 number(s): "1262"

Test #14:

score: 12
Accepted
time: 21ms
memory: 7908kb

input:

100000 1
574489065 743770763
211882181 288604464
129739889 284534337
331811875 391318315
37416063 608986445
534902036 696548051
268694357 19640591
239365234 576914400
10623890 81786245
557001779 226639658
154345580 731344529
250688026 757559211
25475054 357657388
584637384 652051354
153156878 784586...

output:

7737

result:

ok 1 number(s): "7737"

Test #15:

score: 12
Accepted
time: 17ms
memory: 8136kb

input:

100000 1
535171471 336381440
141773641 673998275
492414591 465321245
292245188 492728685
115925345 510014389
387848714 3853854
550043834 398983084
532785924 732477862
22347128 820766474
426048009 610755195
197776236 641908217
206935657 783564876
125621396 231399245
28736236 409897555
87143269 612743...

output:

9005

result:

ok 1 number(s): "9005"

Test #16:

score: 12
Accepted
time: 16ms
memory: 8008kb

input:

100000 1
933067308 728899586
933067307 281511775
933067306 46479519
933067305 629603498
933067304 513745053
933067303 195448498
933067302 839934969
933067301 749764127
933067300 177662462
933067299 311185829
933067298 67933481
933067297 103347335
933067296 298703387
933067295 868453813
933067294 616...

output:

3899

result:

ok 1 number(s): "3899"

Test #17:

score: 12
Accepted
time: 16ms
memory: 8168kb

input:

100000 1
506382737 329612248
506382736 801627680
506382735 316738091
506382734 681410533
506382733 529449205
506382732 827584154
506382731 317177712
506382730 926503010
506382729 684230820
506382728 480953186
506382727 731683737
506382726 145817323
506382725 360514181
506382724 698908723
506382723 7...

output:

2895

result:

ok 1 number(s): "2895"

Test #18:

score: 12
Accepted
time: 16ms
memory: 8036kb

input:

100000 1
877792105 98377575
877792104 179182144
877792103 161948562
877792102 152474351
877792101 542583167
877792100 142774416
877792099 396779746
877792098 957503478
877792097 669500037
877792096 969281133
877792095 565566533
877792094 425097559
877792093 174648328
877792092 18084987
877792091 422...

output:

5070

result:

ok 1 number(s): "5070"

Test #19:

score: 12
Accepted
time: 14ms
memory: 8352kb

input:

100000 1
825085252 529127478
825085251 396026798
825085250 24693573
825085249 545809975
825085248 194420230
825085247 543957886
825085246 650476290
825085245 405647119
825085244 306150957
825085243 371524357
825085242 376087124
825085241 235930314
825085240 549879890
825085239 570607548
825085238 25...

output:

6544

result:

ok 1 number(s): "6544"

Test #20:

score: 12
Accepted
time: 15ms
memory: 8172kb

input:

100000 1
977073650 470745336
977073649 122977908
977073648 753047720
977073647 251904203
977073646 121800701
977073645 280875129
977073644 144615133
977073643 144968752
977073642 697554749
977073641 39082506
977073640 764169759
977073639 729466800
977073638 405829723
977073637 945950833
977073636 45...

output:

28463

result:

ok 1 number(s): "28463"

Test #21:

score: 12
Accepted
time: 92ms
memory: 11568kb

input:

100000 1
975215810 6
975215809 9
975215808 6
975215807 12
975215806 10
975215805 9
975215804 15
975215803 15
975215802 12
975215801 20
975215800 12
975215799 22
975215798 19
975215797 20
975215796 23
975215795 25
975215794 19
975215793 27
975215792 29
975215791 30
975215790 22
975215789 30
975215788...

output:

44014

result:

ok 1 number(s): "44014"

Test #22:

score: 12
Accepted
time: 91ms
memory: 11144kb

input:

100000 1
920997099 4
920997098 6
920997097 12
920997096 7
920997095 8
920997094 13
920997093 11
920997092 14
920997091 15
920997090 20
920997089 19
920997088 18
920997087 15
920997086 24
920997085 20
920997084 23
920997083 22
920997082 25
920997081 28
920997080 28
920997079 27
920997078 29
920997077...

output:

35111

result:

ok 1 number(s): "35111"

Test #23:

score: 12
Accepted
time: 104ms
memory: 11540kb

input:

100000 1
976177978 3
976177977 11
976177976 11
976177975 8
976177974 12
976177973 12
976177972 13
976177971 18
976177970 10
976177969 11
976177968 13
976177967 17
976177966 17
976177965 17
976177964 19
976177963 24
976177962 24
976177961 23
976177960 27
976177959 23
976177958 27
976177957 25
9761779...

output:

43770

result:

ok 1 number(s): "43770"

Test #24:

score: 12
Accepted
time: 84ms
memory: 11324kb

input:

100000 1
859225454 3
859225453 3
859225452 12
859225451 12
859225450 7
859225449 10
859225448 16
859225447 17
859225446 14
859225445 15
859225444 18
859225443 13
859225442 18
859225441 18
859225440 19
859225439 26
859225438 26
859225437 25
859225436 27
859225435 25
859225434 23
859225433 31
85922543...

output:

33391

result:

ok 1 number(s): "33391"

Test #25:

score: 12
Accepted
time: 121ms
memory: 11392kb

input:

100000 1
610891269 9
610891268 12
610891267 6
610891266 8
610891265 9
610891264 10
610891263 17
610891262 13
610891261 12
610891260 15
610891259 14
610891258 17
610891257 18
610891256 19
610891255 20
610891254 19
610891253 22
610891252 26
610891251 21
610891250 22
610891249 26
610891248 27
610891247...

output:

39841

result:

ok 1 number(s): "39841"

Subtask #3:

score: 0
Wrong Answer

Test #26:

score: 26
Accepted
time: 3ms
memory: 6496kb

input:

1000 1000
98203901 1327928
90291962 1715530
73190581 1953419
30626944 1111081
19861765 1648083
378531325 1847131
32338803 1135925
213019894 1754207
104073495 1236818
153162191 1775836
283503659 1577207
370480039 1457117
11989599 1688477
8779089 1115475
25334382 1551917
102065341 1825040
154967698 15...

output:

1011589

result:

ok 1 number(s): "1011589"

Test #27:

score: 26
Accepted
time: 0ms
memory: 6484kb

input:

330 990
373134326 4
701492560 7
746268679 7
776119421 4
895522381 4
746268655 4
805970167 4
373134330 4
716417911 8
761194024 4
626865671 4
328358235 7
14925402 7
597014925 4
582089554 8
44776126 8
104477612 4
298507489 7
835820889 4
895522405 4
656716413 4
552238806 4
313432840 8
447761191 4
298507...

output:

9

result:

ok 1 number(s): "9"

Test #28:

score: 26
Accepted
time: 4ms
memory: 6180kb

input:

330 990
611940298 4
373134344 6
313432864 4
149253747 5
343283602 6
253731346 4
238805985 5
970149264 6
89552243 4
746268681 4
492537314 4
611940310 5
238805999 4
865671657 6
970149250 4
149253761 4
626865697 4
298507491 4
343283596 5
835820905 5
761194028 4
29850769 6
44776150 4
880597026 6
6716418...

output:

9

result:

ok 1 number(s): "9"

Test #29:

score: 26
Accepted
time: 29ms
memory: 6308kb

input:

1000 1000
301268447 148470946
936559118 141508823
785790166 540015242
578859667 224889871
176466061 637491413
9490489 998352121
455152479 666386577
37725832 51483679
602037964 235495591
226213567 578127892
790576859 566555039
970586916 330226797
596431819 80912449
343462089 902326659
424623122 64254...

output:

497728657

result:

ok 1 number(s): "497728657"

Test #30:

score: 26
Accepted
time: 4ms
memory: 6208kb

input:

1000 1000
21227558 339524293
113300665 507519803
315575609 815194004
41238261 31490769
973195321 457225430
196603967 313004401
965058847 590863685
153320571 385042648
393037677 802248464
335446175 871720165
773589757 730240089
556839610 305533224
748100788 938114872
585303457 546525441
671529679 209...

output:

11753

result:

ok 1 number(s): "11753"

Test #31:

score: 26
Accepted
time: 23ms
memory: 6304kb

input:

1000 1000
211337114 553474751
102555909 666935445
299835524 52890195
472089110 163883989
230260733 968299049
314566620 534461117
770735804 446301362
342474482 859840150
980342554 552650340
629645425 503309373
723522633 636096068
727722882 135001479
589125294 553203222
84120343 113509598
248499460 60...

output:

252428485

result:

ok 1 number(s): "252428485"

Test #32:

score: 26
Accepted
time: 5ms
memory: 6108kb

input:

1000 1000
611122771 959495466
916706765 269527419
336110097 965236179
932956848 265539653
60174478 201257188
944335102 781288490
227811330 222887146
524651808 789272439
691184515 614561093
552698243 487840159
648822958 5757463
517856644 692150877
915348052 703214529
413971276 763383781
156326678 402...

output:

576359

result:

ok 1 number(s): "576359"

Test #33:

score: 26
Accepted
time: 14ms
memory: 6228kb

input:

1000 1000
217015550 202280593
638022397 918194415
332038629 258101805
412656484 505014129
813828431 340658688
707030991 330148730
331748201 148708511
5488233 920433075
326085356 310632433
32712833 21269249
25167552 408453560
901596828 641793691
287658509 498533005
529213946 979184490
782206025 21674...

output:

523048

result:

ok 1 number(s): "523048"

Test #34:

score: 26
Accepted
time: 6ms
memory: 6208kb

input:

1000 1000
52183966 228111828
257543135 614908950
314659495 547846822
141681901 334387214
756399034 447607434
919106911 364793883
426406748 718368702
999519116 467421110
434805504 265947560
802947863 196084942
103723434 114979015
746484192 569769459
989703481 344715363
851531833 717800118
612956852 7...

output:

109435

result:

ok 1 number(s): "109435"

Test #35:

score: 26
Accepted
time: 11ms
memory: 6424kb

input:

1 1000
85699469 635177406
397424475 990321093
573253650 934092320
417417315 623100595
35412931 505000054
941378306 708277837
810086552 142111546
991898627 424604577
278985265 365258620
238221494 717030199
159259717 208707366
3515039 543266049
830462866 629413859
44903503 855874855
728757506 15921864...

output:

465573072506

result:

ok 1 number(s): "465573072506"

Test #36:

score: 26
Accepted
time: 7ms
memory: 6248kb

input:

1 1000
7901158 37773167
21027258 4334
21031592 11484
21043076 17588
21060664 23208
21083872 18256
21102128 10101
21112229 34370
21146599 13732
21160331 11777
21172108 20273
21192381 15018
21207399 23165
21230564 35079
21265643 22595
21288238 18729
21306967 4642
21311609 29180
21340789 31158
21371947...

output:

81655280

result:

ok 1 number(s): "81655280"

Test #37:

score: 26
Accepted
time: 0ms
memory: 6036kb

input:

1000 1
601565709 380146496
106843611 114589719
436440725 132702235
146814923 821147393
707320329 725060235
701370283 91269767
513306674 858660646
172851986 880312764
235423890 783898238
434265476 706702981
6123927 531934452
174241542 896796185
627619019 292027001
874622894 915485730
728338717 661289...

output:

529072

result:

ok 1 number(s): "529072"

Test #38:

score: 26
Accepted
time: 0ms
memory: 6240kb

input:

1000 1
954084463 813961940
954084462 534944982
954084461 333239366
954084460 741491379
954084459 475679831
954084458 230139021
954084457 265074824
954084456 61811066
954084455 751787365
954084454 27979719
954084453 86613557
954084452 346616217
954084451 134934072
954084450 793525953
954084449 948854...

output:

41205968

result:

ok 1 number(s): "41205968"

Test #39:

score: 26
Accepted
time: 3ms
memory: 6112kb

input:

1000 1
512530104 11
512530103 5
512530102 8
512530101 6
512530100 14
512530099 11
512530098 10
512530097 9
512530096 16
512530095 19
512530094 14
512530093 13
512530092 19
512530091 19
512530090 16
512530089 25
512530088 23
512530087 23
512530086 20
512530085 25
512530084 28
512530083 26
512530082 2...

output:

958244

result:

ok 1 number(s): "958244"

Test #40:

score: 26
Accepted
time: 2ms
memory: 6196kb

input:

1000 1000
64518024 430401
39925447 458023
69125913 478039
76901443 405517
23917198 374187
88618541 359329
98888868 406933
7483302 446167
24208833 327394
103810381 434127
32198972 489826
66925362 465375
18239776 473895
38986062 337069
117485577 453385
36687921 292602
97558937 384411
105914301 373379
...

output:

249197

result:

ok 1 number(s): "249197"

Test #41:

score: 26
Accepted
time: 0ms
memory: 6188kb

input:

1000 1000
113865526 1227912
408104437 1246334
344051165 878878
350912278 1578563
189916578 1435806
42158442 1222466
112833156 926107
282270722 1614928
244202425 924629
118214614 1182081
346744880 923736
818552 1193364
276432747 1232427
272968193 1002506
277749118 1182249
149205398 1238623
46536582 8...

output:

838217

result:

ok 1 number(s): "838217"

Test #42:

score: 26
Accepted
time: 2ms
memory: 6252kb

input:

1000 1000
98556997 1534734
613605172 2624435
572361139 2248172
489830583 1577795
282806530 1616872
32301608 2178358
604689879 2047299
271358777 2609805
110825259 1737639
92933283 1907832
477122628 1539190
109759728 2630071
466837391 2104552
596058321 2012720
463555698 2246559
473825434 1356751
61061...

output:

1330325

result:

ok 1 number(s): "1330325"

Test #43:

score: 26
Accepted
time: 5ms
memory: 6268kb

input:

1000 1000
147850971 1114794
50272223 1091607
200164858 1929625
44155810 1799735
277962963 2026517
173255602 1594883
55708666 1279044
341957483 1358008
118559151 1943192
253169029 1599708
277759217 1761512
416053070 1192944
58845962 1535658
158362500 1587124
468253366 1854588
75015120 1951804
1190711...

output:

1071053

result:

ok 1 number(s): "1071053"

Test #44:

score: 26
Accepted
time: 3ms
memory: 6296kb

input:

100 313
436568609 277902437
809501292 33063248
865167333 489021737
252755017 55001721
549850169 783725010
625029084 771890389
947080045 797296766
619215031 245939890
133185655 324270212
839002478 461462406
90524647 688358122
464050601 162463461
201648254 219031054
623721358 236951766
558156916 32614...

output:

653843538

result:

ok 1 number(s): "653843538"

Test #45:

score: 26
Accepted
time: 8ms
memory: 6336kb

input:

100 413
311629417 199409840
202773193 105836894
312548131 475264376
953843249 73351172
124741734 82215463
744515507 214938550
273493149 179273183
396094956 182134200
77994430 557912201
244257688 136916806
893693554 708375878
746414531 701668338
237147099 171674097
416854938 56094823
547129471 838939...

output:

620193396

result:

ok 1 number(s): "620193396"

Test #46:

score: 26
Accepted
time: 6ms
memory: 6104kb

input:

100 293
793724221 93073396
859964901 447082066
88874998 777534311
705307761 201874085
122124746 780136928
128114372 623580961
532725767 583241466
750385810 63814219
18963628 169893601
668058370 768696085
842090809 249682282
723458866 126920743
332301269 224696067
69013664 737358187
68341104 44194812...

output:

644543208

result:

ok 1 number(s): "644543208"

Test #47:

score: 26
Accepted
time: 3ms
memory: 6036kb

input:

10 115
928698420 664331972
758398643 491652838
494365864 80086044
915418807 116349728
144758814 374832874
286784118 583276259
315420297 448173868
232303744 184770800
567091762 634470313
350097318 85129774
417074544 336360
417410904 4
417410908 6
417410914 99
417411013 147
417411160 881
417412041 10
...

output:

696332473

result:

ok 1 number(s): "696332473"

Test #48:

score: 26
Accepted
time: 2ms
memory: 6076kb

input:

10 137
831552083 224682882
12258712 139952042
716351504 134546407
638572775 265842921
857502447 69246343
335962619 249156534
636708222 78019504
245895314 250473383
79340053 169592798
655851034 140334838
152210754 124270
152335024 4216281
156551305 1
156551306 3366517
159917823 2
159917825 32943
1599...

output:

300128006

result:

ok 1 number(s): "300128006"

Test #49:

score: 26
Accepted
time: 3ms
memory: 6140kb

input:

100 722
834083255 45114305
101447864 11964454
123258139 43683307
214624596 32830434
986745834 3486060
491823810 14543354
605855803 17369915
843868604 46524989
425799844 14306183
143112863 48265222
131600254 38009781
996030274 38818095
264752914 44209581
484968615 48256178
900698317 45445597
95909067...

output:

48687048

result:

ok 1 number(s): "48687048"

Test #50:

score: 26
Accepted
time: 14ms
memory: 6144kb

input:

100 647
973763954 921586015
44587760 80002332
279524587 78937990
391143503 574780622
212336955 552801870
249293566 677692767
96470582 449267488
100600292 430292311
227684850 924469651
126208810 462699542
343862957 730956024
389534501 430165387
280272287 2371229
191734911 721961970
451446777 45437755...

output:

935446119

result:

ok 1 number(s): "935446119"

Test #51:

score: 26
Accepted
time: 10ms
memory: 6184kb

input:

100 678
749452329 736680664
31717680 763899108
916817622 262748712
906168743 200066826
91726392 383316630
795200963 583294054
277223486 658519490
418972628 662379954
923909918 476289045
568756335 78772906
290556603 857580105
640975146 458856867
240507353 420372076
268168912 484884716
537084550 71595...

output:

879084137

result:

ok 1 number(s): "879084137"

Test #52:

score: 26
Accepted
time: 12ms
memory: 6184kb

input:

10 778
665321056 579942257
848303726 571879044
987878241 593670363
212068916 162282909
878241548 96305236
19745118 4853075
816657009 608712285
217447493 491695196
499062011 326586858
586116900 148141048
20195430 2325087
21169215 290151
21749390 703324
22995141 387838
23177568 552714
23256064 1110292...

output:

855065235

result:

ok 1 number(s): "855065235"

Test #53:

score: 26
Accepted
time: 4ms
memory: 6068kb

input:

10 497
814774886 65487794
268395141 64583821
627522993 51326534
787369492 55517761
35284731 30404720
216516946 72563310
720643842 59760312
76873188 69949226
177690198 10465637
169537479 9171959
35407528 18188
35645170 55789
35922733 71783
36555427 49912
36626654 90425
36654287 65791
36729332 128374
...

output:

73240865

result:

ok 1 number(s): "73240865"

Test #54:

score: 26
Accepted
time: 3ms
memory: 6176kb

input:

332 996
59880243 8
461077782 8
736526842 5
928143578 6
17964082 8
23952099 8
437125686 4
916167530 6
844311246 4
562874165 5
910179507 7
862275317 7
724550794 4
3 5
898203463 8
83832335 6
401197550 5
988023808 6
359281387 5
155688611 6
958083693 7
485029874 7
796407072 5
694610681 7
580838242 6
8622...

output:

11

result:

ok 1 number(s): "11"

Test #55:

score: 26
Accepted
time: 2ms
memory: 6144kb

input:

332 996
491017893 4
832335206 8
233532910 6
904191486 7
227544887 7
83832329 6
550898129 5
592814288 8
11976059 5
245508946 5
383233479 5
676646608 7
17964082 5
77844312 7
754490909 5
263473017 6
107784427 8
736526836 5
712574738 7
401197554 8
550898117 6
395209531 8
568862198 5
634730451 5
44311371...

output:

11

result:

ok 1 number(s): "11"

Test #56:

score: 0
Wrong Answer
time: 4ms
memory: 6168kb

input:

320 960
647058882 6
411764728 5
75 8
117647147 4
705882485 8
823529447 8
352941315 5
411764772 5
529411810 7
117647077 6
529411852 8
823529525 6
411764786 5
823529457 7
470588283 4
764706030 7
117647093 5
58823628 4
58823556 5
294117762 8
764705992 6
176470592 8
58823588 8
109 4
705882451 7
141 6
82...

output:

8

result:

wrong answer 1st numbers differ - expected: '9', found: '8'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%