QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#791606 | #839. Ignore Submasks | Urd | AC ✓ | 0ms | 3708kb | C++17 | 682b | 2024-11-28 19:50:07 | 2024-11-28 19:50:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3644kb
input:
2 1 0 1
output:
2
result:
ok answer is '2'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
2 2 2 1
output:
4
result:
ok answer is '4'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
5 10 389 144 883 761 556
output:
1118
result:
ok answer is '1118'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1152921504606846975
output:
9445954
result:
ok answer is '9445954'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
100 60 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 406551878482627242
output:
227549916
result:
ok answer is '227549916'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
100 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1152921504606846975
output:
334980396
result:
ok answer is '334980396'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
100 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 406551878482627242
output:
771188220
result:
ok answer is '771188220'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 268435456 0 268435456 268435456 268435456 0 0 268435456 0 268435456 0 268435456 0 0 0 268435456 268435456 0 268435456 268435456 268435456 0 268435456 0 268435456 268435456 268435456 268435456 0 0 0 268435456 268435456 0 268435456 0 0 0 268435456 0 0 0 268435456 268435456 0 268435456 0 2684354...
output:
840200159
result:
ok answer is '840200159'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
100 60 274877906944 8589934592 8589934592 8589934592 0 274877906944 274877906944 8589934592 8589934592 0 8589934592 283467841536 0 0 283467841536 8589934592 0 8589934592 0 283467841536 0 8589934592 283467841536 283467841536 8589934592 0 283467841536 274877906944 283467841536 283467841536 28346784153...
output:
682155965
result:
ok answer is '682155965'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
100 60 72057598349672448 72057598332895232 4294967296 72057594037927936 0 0 72057594054705152 0 16777216 72057594054705152 72057598332895232 72057594037927936 72057598332895232 4294967296 4294967296 4311744512 72057598349672448 4294967296 0 72057594037927936 72057594054705152 72057594037927936 72057...
output:
222544837
result:
ok answer is '222544837'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
100 60 0 20972032 0 20972032 36028797039935488 16777728 0 0 20971520 36028797035741696 4194816 20972032 36028797039935488 20971520 36028797018963968 4194304 36028797039936000 36028797023158272 4194304 36028797023158784 36028797035741696 36028797039936000 4194304 4194816 36028797035741696 36028797018...
output:
595873141
result:
ok answer is '595873141'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 64 25769803848 17179869256 8589934600 17179869248 17179869184 0 8589934600 25769803840 576460778073227336 17179869184 576460778073227264 576460769483292672 576460752303423560 576460760893358088 64 72 17179869248 576460778073227328 25769803784 576460752303423488 576460778073227264 576460752303...
output:
215284110
result:
ok answer is '215284110'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
100 60 18014433439645696 306244774694748160 18014433439645696 18014432869220352 34359738368 288230376185266176 103616086016 103649640448 18014501588697088 68753031168 288230479801352192 18014467799384064 68753031168 306244809557803008 103649640448 18014502125568000 18014399079907328 2882304798013521...
output:
86071349
result:
ok answer is '86071349'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 2214594561 18014398576590884 1 18014398576592929 32 18014400656967713 18014398576590849 18014398576592900 18014400724076580 2147483649 2214592516 2048 18014400656965664 18014400724076545 18014400656965637 2214594593 18014398576590853 2147485733 67110913 18014400656967713 67108901 180144007240...
output:
854510138
result:
ok answer is '854510138'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
100 60 27232703996756224 18225504742014992 315463080148467728 9147936743096592 9077567998918928 27162335252578304 27232703996756224 27162335252578320 288371113640067088 594475150812905472 603482350067646720 27021597764222992 18155135997837328 891783094963536128 306244774661193744 315251973915934720 ...
output:
911961529
result:
ok answer is '911961529'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
100 60 633319502979072 89061280784384 580542441521152 89060441849856 562950255411200 17592991416320 89061280784384 17592991350784 634418779725824 580542139539456 87961467101184 89061012340736 89061280784384 18692536606720 70369012686848 652010697269248 650910917206016 580542944780288 71469061120000 ...
output:
475683420
result:
ok answer is '475683420'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 175922397319200 536875012 576601490328649764 578747737026072608 576601489791778816 578888474514427936 0 536870948 576460756631945252 2392537838915616 35184405643296 576460756598394884 2392537872465924 2427726539526148 2392537872465920 576495937245941796 578888478842949636 35184372092960 57660...
output:
111660128
result:
ok answer is '111660128'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
100 60 432345564361949192 432345581542834440 290482193148444680 2251799813849088 290482175966445568 146367005072556296 290482193145397504 2251817131081728 434597381222170624 434597364044529928 136314880 2251817130033152 17181999360 144115188211286272 2251799950163976 144115205259034632 2904821931463...
output:
772597848
result:
ok answer is '772597848'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
100 60 108649890768781328 108086940815360208 562952170111056 562950021087248 36029346775335056 36592298876207120 108649341010345984 108086943027331216 72620543993479168 36592298878337152 563501925924992 36029346841886784 562952168538192 72620546139357328 108649343158353920 108086942962811072 1086498...
output:
962575147
result:
ok answer is '962575147'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
100 60 281474976743424 1009087804393816072 603482358658760712 1026820719336522760 450359975621951488 441634238460067840 281474977759240 576742235871248392 450359975623163912 162411065858097160 18014407099449344 594756630085632008 729864623200699392 720575948969214984 1026820723630440448 720575944675...
output:
652619606
result:
ok answer is '652619606'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 19421910831990824 266272 4925812092700712 23643898043959840 22799473113569312 19281173356478472 23784772983591424 1266774842544648 22940348049263104 1266774846738432 22799610552784896 22517998141051432 1266637403589128 18436610987135488 23643898043695104 24066110512959496 4503599627636768 237...
output:
384959567
result:
ok answer is '384959567'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
100 60 146367125328502786 138420224 147492887934795782 39406634318431236 147492887802159168 137438953538 36028797024207936 36028797157376070 37154697061073476 36028797153181762 183521684954285120 137444197380 37154696931575302 146366987889541126 38280734271611970 146366988027962372 36028934593716292...
output:
215248863
result:
ok answer is '215248863'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
100 60 576531164064383622 576460763040842368 44023971844 36099208713372294 612559955731972098 70378407854978 576460762051543296 70369885062020 34376516096 9731310466 36028797019488898 36028841126789504 612489551469871878 36099177641968386 44107334404 576531164014608386 576531121048125446 57646075344...
output:
888346540
result:
ok answer is '888346540'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
100 60 144748507847786498 105562823000206 5172112362307716 148653981799350408 5101735052902536 4503600711139334 105554198462602 633318740066310 5066558222172290 148689157555814538 4538792648179848 149252116115423362 149287300446552070 148689165097172998 5172103831158914 34668548 149287291880275978 7...
output:
337570981
result:
ok answer is '337570981'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 26680336843776 19000952102913 36451284412277793 449728441492480 36460116962189345 36478514739815457 149533900152864 36046408532369408 36460117012513825 36038753021599777 36170945672519681 431317795742752 36336963388702752 150693256110113 36336722853765152 448663054722080 36030214643384321 361...
output:
988851228
result:
ok answer is '988851228'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 612489557937578005 578712835601747990 578713102435028994 182396618148966402 146508000272670721 146366996496261122 722828015616147476 182536805889875970 612630845156507669 146508559138512919 722828573961957378 38421893228818438 722828024214532099 144115737840140293 144116012734758930 756745474...
output:
857715344
result:
ok answer is '857715344'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 90212781592216273 158913789952083 18155685753725010 90072593872257731 72075186295278211 18172728255250627 72075237780433489 140789032222720 18032025080433281 18155737360368321 90071992560003793 158913815191635 90213314159708307 18155153190299842 90212764471001106 18173312320413712 18155187604...
output:
631490579
result:
ok answer is '631490579'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 36029007541567618 109212290976325760 180187969925152898 37330769183514624 82331641141526528 145249892665655426 154398031276679296 144256002878865410 36178468106412160 252377582607007746 82366683790188672 190417967855697920 73368289284194304 37190031694372994 145249897042673666 262378869283364...
output:
794935711
result:
ok answer is '794935711'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
100 60 648799822392926218 298363479643922694 875123299109110788 659091255558471936 864990199913971992 937047789656867870 370860874035889410 938296836007928078 297395906221711370 657683880708408604 576900562426004492 936748722560181256 648676680346378252 370720136550686988 873979807084381454 57760424...
output:
990267136
result:
ok answer is '990267136'
Test #30:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
100 60 145382925385655312 145241088000541744 53330993 149181738093995056 6193686724001809 145944913268999185 5630736485385265 149886662371746833 149181875397648417 5771474378712080 144115325800022049 150308737397301297 1830686913036289 150308874953507888 149182837473674240 149886524780004385 1267737...
output:
354682348
result:
ok answer is '354682348'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
100 60 36178365032697894 811817343008 333302106553387046 47428744030191650 288274962279628800 36073585005139968 290631846991239206 36170157283147810 297422327788079138 333311091630473250 45071940859564038 297422980621832230 324444032863666178 9051214150932514 290658716372535332 11294204920856576 141...
output:
463769223
result:
ok answer is '463769223'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 180284796943990793 756780690435474112 756922045320659137 756640209571414081 182537150838342344 180284818147771008 759173772389384385 759033375511019721 144256565520105536 758856560605134921 2533554769100928 180426297629475008 612490113880424641 756886767772631048 182712733395845769 4577407029...
output:
722968096
result:
ok answer is '722968096'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
100 60 294994608198254788 4512500969145108 292735135420252884 291898433114144916 2675146436379344 294001738472522180 295416829249061252 294001766395118352 293024298406347328 288240366535180548 2534385039606468 289365166646231952 5919901874226116 296393281494942608 295135309178372180 2930166106664804...
output:
94379603
result:
ok answer is '94379603'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 36029381222728714 216459210414620818 180988998591840264 217017207128199184 72339104471581712 108091888622641169 180992848020381720 180148387571840001 36315254312141952 144679272122029211 217018310936625155 848824259327001 252770065372819459 144402164980396042 144683120261608465 34433536139 72...
output:
605529150
result:
ok answer is '605529150'
Test #35:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
100 60 398568593337360384 864691352603015170 56435750694037762 972971171538614282 630521557613117448 306244800968505346 954921674422200584 614758967767214474 128493421496646024 705007002308874376 993184679199311872 360323309726370048 18207921964390528 918910469463390208 975170212112377992 3602894372...
output:
377905601
result:
ok answer is '377905601'
Test #36:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
100 60 747747847035711668 605734906972135548 144124035708500028 27030462612385800 729724463488182308 738740580066035784 29423652783026244 153263280513658880 99220104346107956 803892638781595820 72207866387280072 164531074601375896 27030619443722372 146516728805867580 666682415938312324 5968767280480...
output:
791206744
result:
ok answer is '791206744'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 361431468877120130 81086809355354250 370425755348764682 109213148004843520 396339590842026122 118242335286954018 397527065373968522 81162398573527178 325460409119670914 288240026960038048 118237643060838922 10159513406081162 334467327022073866 333350225272408712 370447762769674240 37177520526...
output:
950520605
result:
ok answer is '950520605'
Test #38:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
100 60 144327668765350454 144622085485388451 576821688571283474 720658691515744305 505806589323394 720731255088372230 576955838654380162 576748012601909905 576610317124536340 289447543573025 226787159228448 576473967985457717 144469528348500519 576755700594397188 720647412998533122 4412039548978 144...
output:
170433234
result:
ok answer is '170433234'
Test #39:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
100 60 325017219311337476 577228212608696388 612528376167534680 617144950308601928 41240827103547476 577087474134683654 41096515270213644 864841899409805322 865291668092354640 905992566295629916 864836333019861072 900928901819142154 329330602153087042 576476214272856066 869764412776382554 4124866005...
output:
648600353
result:
ok answer is '648600353'
Test #40:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
100 60 6362911110905864 41126133403493000 42225690632782284 60267567944622592 5795537367335564 36739082378830464 148781518083326404 24367420659737096 6354113042604608 19705491081143176 24380607477080964 166634331035697224 6337621596831820 203396457045205696 594873241583812 55310943944491340 19945580...
output:
447257177
result:
ok answer is '447257177'
Test #41:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
100 60 289639890602182688 289075160385884448 598418966015256840 18296796922145825 38562359723323648 884114308587361569 867509816860494121 594475645422023944 39125640256029697 55733632379291913 633882706399383561 631352719822697729 37719792906590472 597012373369261312 634728136885421096 8652545707371...
output:
245912825
result:
ok answer is '245912825'
Test #42:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
100 60 33814433318905878 4712936371730468 664551459262046264 11509843479777280 97216790903944318 95068208822293600 101419228569631770 106296558999898154 76684511844784182 657805235040894062 583669615566537738 85634415157851244 655438672598471732 29333063297694738 680487884981080086 92506586207055942...
output:
707317374
result:
ok answer is '707317374'
Test #43:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 122145007650091036 360780776969806617 279524700866613508 567528494139585048 293022082269393433 40761288138826517 243392551817188105 392294943794724892 239135242861085444 171337003542651148 383107372488466436 450837410981941764 135534634583199760 194129827291861264 112203135987724 486652834294...
output:
539549490
result:
ok answer is '539549490'
Test #44:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 748301651349078116 279928930537996304 81206630590482533 622061236183501301 838375025546395953 54193718865986040 207896090509346864 243221881632588192 54201800895496288 693564819667681381 793206679592241309 856414556019359868 720744038169477172 270366611843743984 828812704970082505 10052686708...
output:
464034514
result:
ok answer is '464034514'
Test #45:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
100 60 226467002686898178 153339738993066114 734298976179749234 945394732222152896 376124809022800240 154323638682812912 73878007909056736 442063749162074354 17543976701690224 1185859269591344 81898227418398896 145281277623271890 881831979507646466 517564352193495170 1021968085495578768 516491382431...
output:
983863332
result:
ok answer is '983863332'
Test #46:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
100 60 259240968413210161 47294425378374672 150870763613315601 222934933785306721 155662410216301169 2535937825054733 155660397352068733 254739553185997864 252490085663310869 2535912594998292 160163840258400329 220678591502640237 157912167629431928 150877663679980076 182679599118237696 1916890248340...
output:
520675252
result:
ok answer is '520675252'
Test #47:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
100 60 723411391990729360 16436875259813136 520753759678118176 373834550613121172 376674108630374144 793325745842034992 442005324556415760 794943702836586388 727460661941240240 952586750361211268 799394741343093156 290554194380856192 581723943345156 147024608167466928 232591896693056772 230305165943...
output:
8965766
result:
ok answer is '8965766'
Test #48:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
100 60 900837719799024720 874383469629180229 932778524526315542 356174422314388739 338622516085419345 932817290501441553 595195605813684291 45214263335755861 585998329701615891 906003217502012416 928528646339677206 631435107080849431 28057888016738390 356397623314408790 581087085469625345 9014041058...
output:
489217429
result:
ok answer is '489217429'
Test #49:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
100 60 306827594753495066 439470515574921283 195064391732893000 481256368352854098 320413099266262034 335960234469940234 33288848958325074 160869682105310529 444526062531023955 503440121397876763 160161488180943185 466496419012088841 296045800417499154 155748088260415577 449658539834102083 153832677...
output:
543477382
result:
ok answer is '543477382'
Test #50:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 636145548566528453 864817815021250712 599103134874280513 450948345423262529 59298932102285389 326362882512021709 344500155812463309 168502530010315333 473687414158706904 40800814922820572 619021750130234140 54494375476013836 576989619652934084 1068180292381999876 596349891283003485 6320227535...
output:
506781078
result:
ok answer is '506781078'
Test #51:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 982014177942050891 838360252241073674 1020827162474787923 586136806418869264 335571278637478464 1008806362232774153 756799150307380763 659953309817377296 155954815921366617 180325291911782987 612700679179580928 765774981665131611 513414862074926088 254476214824734272 588480774548848643 144695...
output:
314498729
result:
ok answer is '314498729'
Test #52:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
100 60 171596244488105233 279421230770111620 333425251953547572 198336401589690532 72240018552249876 18355118527180865 297419442820327552 297260253040804625 41012505304726128 81104964227097440 554264271313988577 405484087223912609 423637569667675653 239153717721812368 171436038839901200 293192241403...
output:
952917398
result:
ok answer is '952917398'
Test #53:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 513471987626033336 685734810012464153 694117723257525152 686245495421588908 290122379422695445 513413402948854305 361440709437857217 1008976522083154308 397618623654505764 1090469674290794544 432497486414276361 757732875912212889 623194708389265005 37357751821664984 649700063932147440 8303892...
output:
708712226
result:
ok answer is '708712226'
Test #54:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
100 60 595706759571382924 1104930723210551992 744013982431462013 293648838823274220 874789752057193376 735424042397934801 10842147662820329 887812367669527237 162309988910699848 866877650217227168 896291730312689617 6193292953855784 365851569535132485 443046159433556373 1041603263849371361 662773317...
output:
498790023
result:
ok answer is '498790023'
Test #55:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
100 60 554906103722311940 367254897534525901 221697241311653708 275467646500359623 531574432372730822 558882161194774227 20407143472932441 435444272411765313 441471636118441482 306608086037136589 50643536119712192 234680137122078723 343228119594090582 264553596442494674 570523866323012125 6147845093...
output:
61939369
result:
ok answer is '61939369'
Test #56:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
100 60 312552213196927907 469072717926364977 780269667427123363 780248776664200211 185238710627054752 329373426785609363 327700596654748337 1034730405965005234 597863162322654470 615315032208683699 602446001383683888 456001024487793797 1067382345017529346 145315333559821584 886138154246344755 416869...
output:
220944316
result:
ok answer is '220944316'
Test #57:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 60 18619550520679728 200703756951083288 739552035530103993 470949749586871448 181002740293659962 578724269267988753 198477517556806418 1029440738504748705 38319909560036491 288634761745438338 882714518776462234 344539581153201321 288521506686752440 883058061658086787 756719379486053891 543653947...
output:
137044890
result:
ok answer is '137044890'
Test #58:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 360258172507808354 215089076572723276 441894426016033929 191804464377056811 157286120484193158 170372787560334921 491885794561850408 71783841606024265 53980945953207151 214627434346412451 499940933312268739 70734359805897293 9749660254887430 3810357615465486 75333804443426 501733028205767907 ...
output:
950856125
result:
ok answer is '950856125'
Test #59:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
100 60 124347234324161048 191728941005963969 908938166470814619 298855390283006714 695853627663657579 4780729184289746 915506375689513819 515824963729031968 1083233882336428440 153615020221540377 506884971989107386 13557187205737392 948197115555185648 1009313459226583344 334887113889221305 364141015...
output:
893969836
result:
ok answer is '893969836'
Test #60:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
100 60 464879382907914423 133465809207030839 186962267346159796 369877428907259073 695115049063321664 343574202459277395 152628186139656306 1081305400654106631 941693058695744727 253248999933492404 763113716639109329 443604710422928455 97315488609199251 244505246716488786 188884075372619984 23223508...
output:
757677884
result:
ok answer is '757677884'
Test #61:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 60 805305974214628709 56590149002813860 599998481908224450 422779507383444624 675693568952496160 682297307058225361 523988049862164869 800257234256334883 352847791112601926 1001222509596762337 855144712757067990 398862780901114166 614181373855527280 1147865184566268339 674008393143148839 2641674...
output:
78184297
result:
ok answer is '78184297'
Test #62:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
100 60 1073886077648843020 1060646556136165890 1013034688014051520 895416079010369688 1022046028359182295 586620870609559878 452376213480424905 14422572787772928 41773773281670484 628279911320035546 911729542574275214 463428143232577162 881937563792214670 1043724117433337806 637673666731687194 10147...
output:
749273757
result:
ok answer is '749273757'
Test #63:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 333554315730763954 1055865873297850518 273105421865710580 528891536248115766 637158472052163026 207033113652904394 114102927753647018 416161198582559422 517341600481649320 552150930747835010 324826450066830102 1002018942295798396 200471394694922666 218044597905006884 404589544660312748 885330...
output:
178842921
result:
ok answer is '178842921'
Test #64:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
1 1 0
output:
0
result:
ok answer is '0'
Test #65:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
1 1 1
output:
1
result:
ok answer is '1'
Test #66:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
100 60 97625712078182488 402564636370775821 109654495769265931 5447211495688965 41390588846419115 545826591282089801 485568344583773885 386611776783793574 375879383391925229 75324149490929437 563049596461369391 360452814276955810 150653525863652384 570077152955304137 477064206547966913 5664662233327...
output:
891939284
result:
ok answer is '891939284'
Test #67:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 1014618338154540031 902184633736043906 1027058405261055520 634915324942581716 598535139276592004 884619785460207814 784976167392749008 357053279719131278 751418606838109112 729206069525550406 195531780973263673 452200547647601092 867625317446193127 736083540313018972 300573512195448095 630955...
output:
757721168
result:
ok answer is '757721168'
Test #68:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
100 60 202229257076375461 359195795531638070 687923231412614307 579219482864187996 70492033368773187 75577673662344419 903956084713640821 92937361346561651 851052857200105554 1039478280287183453 607072053889492944 753748114749790055 156367173861807877 418642675825428727 178796543042145786 5768912335...
output:
816440307
result:
ok answer is '816440307'
Test #69:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 60 413678717281358534 711247367344633429 832794288887841223 46466988270066149 1074986008314356346 148890430920896644 1091947619502090020 390546657838660363 413163892400904048 431982825768669573 703862591518071535 490113623762731424 502270035843847678 907212286575137602 427253148315742729 2638511...
output:
757671883
result:
ok answer is '757671883'