QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#430252 | #8741. RPG | ucup-team3569# | AC ✓ | 106ms | 45220kb | C++14 | 1.2kb | 2024-06-03 16:38:09 | 2024-06-03 16:38:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 3ms
memory: 27544kb
input:
200000 1 1 1 1000000000 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 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 ...
output:
200000000000000
result:
ok single line: '200000000000000'
Test #2:
score: 0
Accepted
time: 39ms
memory: 37328kb
input:
200000 200000 200000 200000 25125 3732 29057 14131 13 8459 11171 10567 7282 27118 6498 19591 5698 3352 2808 10140 25588 6088 11528 19306 29630 26267 1252 26512 4068 12970 10691 9339 16581 30236 7462 14789 8128 15577 11811 4919 12576 11116 4011 29183 1312 2305 14352 7682 28421 8093 8110 11531 9180 24...
output:
43850233396464
result:
ok single line: '43850233396464'
Test #3:
score: 0
Accepted
time: 6ms
memory: 28532kb
input:
200000 9 3 3 238584678 822394867 646068945 1 1 2 1 2 2 3 1 1 3 1 1 3 2 3 1 1 3 1 3 2 1 1 1 3 3 1 2 1 1 1 1 1 2 2 3 2 2 2 1 1 2 1 1 3 2 3 1 3 3 2 3 3 3 1 3 3 1 1 3 2 1 2 3 2 2 2 1 3 1 2 3 2 1 1 3 3 1 3 1 2 3 1 2 2 2 3 2 3 3 2 1 3 2 2 1 3 3 1 3 2 3 1 3 3 2 3 3 1 2 1 1 3 2 2 1 1 3 1 2 3 1 3 2 3 2 2 1 2...
output:
133818998060601
result:
ok single line: '133818998060601'
Test #4:
score: 0
Accepted
time: 3ms
memory: 28728kb
input:
200000 900 3 300 259175141 750349534 504246086 24 2 290 1 293 3 225 2 60 2 225 3 63 1 121 1 5 1 264 2 91 3 103 3 253 1 132 1 145 2 10 1 60 3 259 3 39 1 224 3 293 3 69 1 261 1 220 1 207 2 169 2 123 1 190 2 33 3 108 1 273 3 34 1 74 2 64 1 155 2 49 2 260 3 3 1 179 2 37 1 2 1 210 1 70 2 175 3 71 2 285 3...
output:
123488087053133
result:
ok single line: '123488087053133'
Test #5:
score: 0
Accepted
time: 35ms
memory: 35896kb
input:
200000 200000 3 200000 950415281 91070345 221873500 43383 1 11748 3 105916 2 140129 3 69917 1 81595 3 84038 2 56880 1 197432 2 112689 3 43516 3 15330 3 44759 1 150481 2 162258 1 100802 2 89691 1 146251 2 158877 3 105989 2 182802 2 168049 1 153373 1 40945 2 97531 2 190070 1 186170 3 182734 3 111803 2...
output:
101075419382132
result:
ok single line: '101075419382132'
Test #6:
score: 0
Accepted
time: 46ms
memory: 27400kb
input:
200000 900 300 3 88111155 985100113 405638147 687408403 237765620 823860913 309768327 789662756 944340220 971839691 514160873 532444446 102050766 576995000 539221752 746590114 66768558 302904079 936846822 852370607 397419485 15548016 50784929 315244988 383702100 671565495 252687272 435128891 1044718...
output:
125083671712588
result:
ok single line: '125083671712588'
Test #7:
score: 0
Accepted
time: 54ms
memory: 33116kb
input:
200000 90000 300 300 563217055 670762039 611329030 316060130 220816937 145698485 974113637 94625908 907639086 749813282 172316403 130949719 196853618 547488773 477922070 854957848 232641099 614915377 789834011 499105456 34498771 568133342 246961783 190540771 412041513 89018277 344679849 842917040 52...
output:
125823081347243
result:
ok single line: '125823081347243'
Test #8:
score: 0
Accepted
time: 42ms
memory: 37176kb
input:
200000 200000 300 200000 824080622 364926941 790169178 869441539 233231682 600461141 636282142 452661853 214073155 625987600 292566606 490751315 386190233 76507922 276261751 82707627 34772431 907327642 890123559 557225693 382724325 621480371 429624634 222182106 915094683 774867459 123865086 19149240...
output:
100910025125494
result:
ok single line: '100910025125494'
Test #9:
score: 0
Accepted
time: 43ms
memory: 41948kb
input:
200000 200000 200000 3 756698528 148023865 14028358 982679775 774030444 700757982 727933608 110454338 874950881 265386108 74206835 942987108 206124454 931672746 703918127 515405569 547135224 233706874 418206216 394174238 608432493 241102820 685036953 561963212 506186577 679767596 427977291 888600342...
output:
110909149551026
result:
ok single line: '110909149551026'
Test #10:
score: 0
Accepted
time: 46ms
memory: 44084kb
input:
200000 200000 200000 300 741855197 811543500 442825476 760200694 927089036 528429240 130494825 461634716 975754726 173278787 269560225 170390594 678639712 552275169 258987737 76646484 514098966 858551911 135595147 98154785 16178876 448589970 278454862 368323029 352091103 909833752 708518888 53210696...
output:
100352461634421
result:
ok single line: '100352461634421'
Test #11:
score: 0
Accepted
time: 59ms
memory: 39356kb
input:
200000 200000 200000 200000 233559182 551007916 680274573 179096916 42430162 59900658 253229086 21291985 217674806 862804018 169031108 260491944 157580795 405753984 764145373 243222683 961852290 561411878 299079448 733568085 486966267 330535879 328484636 141073018 130851445 312392630 683083897 83300...
output:
99978403562111
result:
ok single line: '99978403562111'
Test #12:
score: 0
Accepted
time: 52ms
memory: 43612kb
input:
200000 200000 200000 200000 5806254 3289639 5716429 1387170 6902275 9123946 8337106 9403680 8727422 3951362 1447638 8789363 9927126 157369 5779007 5178890 2064504 9135992 8412121 8208189 4048322 3652611 3902524 3985438 1458475 8191655 6761532 8911502 8242053 5675888 1085699 3311377 4727519 7660670 8...
output:
58424143268812
result:
ok single line: '58424143268812'
Test #13:
score: 0
Accepted
time: 49ms
memory: 41080kb
input:
200000 200000 200000 200000 8843358 7912080 6852245 8209478 2012341 4870738 2258035 1996397 3197197 2133566 707120 4571072 5229037 5846448 6999825 8765595 4383797 8717755 2041541 1233926 3981878 3113281 1843784 2682519 7520025 6053639 7237184 3307471 6887213 7871195 5564732 7121817 5902401 2316603 9...
output:
61621999600402
result:
ok single line: '61621999600402'
Test #14:
score: 0
Accepted
time: 27ms
memory: 42108kb
input:
200000 200000 200000 200000 9056145 3914633 9825193 4164135 8872753 8948135 7488432 1558521 6299963 4476500 6582640 1009705 6321942 9423172 8639030 9356574 876147 8585482 4448879 77942 9765157 5915118 2748970 8281100 2858787 6303342 891967 9064321 400544 3313311 1809893 9289081 3316509 1948105 35256...
output:
60654964566019
result:
ok single line: '60654964566019'
Test #15:
score: 0
Accepted
time: 44ms
memory: 39428kb
input:
200000 200000 200000 200000 7189785 5883176 7858151 7960112 1251052 3539522 3504048 8397413 7526000 8432682 7226872 6044027 2684852 2000125 8602202 4480557 8875439 5926425 7815437 6111717 2797999 6958326 1832454 3977215 2197793 7311720 7058593 7426022 7358839 5454548 869088 2079787 6716353 63192 961...
output:
62118666871982
result:
ok single line: '62118666871982'
Test #16:
score: 0
Accepted
time: 47ms
memory: 41068kb
input:
200000 200000 200000 200000 2279232 6135169 56439 9166415 739354 7578970 1600990 928601 108480 9886438 655694 3240160 6702755 1278371 637974 6439639 7017268 1832211 4321195 3563917 1990322 5287567 2955456 219903 9542967 5186708 5671279 9749451 4179682 6901202 3546587 472621 4086522 5698986 2637056 9...
output:
60897405147233
result:
ok single line: '60897405147233'
Test #17:
score: 0
Accepted
time: 39ms
memory: 38884kb
input:
200000 200000 200000 200000 5104576 8443642 4075383 9672217 6652466 4410675 4566776 9476370 7544576 8949473 636605 9721434 545866 4925929 5620792 8110241 569863 6521434 9343606 544267 9084573 245233 5227040 4153607 8816686 7429851 1304284 3098619 8420331 399314 4607518 268818 3958245 1431741 641550 ...
output:
60963496826739
result:
ok single line: '60963496826739'
Test #18:
score: 0
Accepted
time: 49ms
memory: 41376kb
input:
200000 199999 200000 200000 9204049 6445939 4114095 7364082 1850130 643735 7972611 871753 876609 7859606 759553 772205 5188665 4132602 9525843 2627432 4987091 2000520 19960 5947859 8993794 1221113 6211581 2878388 2562858 6790569 6950030 3097911 4657582 963194 7334501 1661170 5072379 9290996 8652255 ...
output:
59007583805493
result:
ok single line: '59007583805493'
Test #19:
score: 0
Accepted
time: 42ms
memory: 38896kb
input:
200000 200000 200000 200000 2438846 6390875 6809155 3584300 1532816 6547889 2162346 2252096 9897825 9395720 1574457 1658982 2953411 3080057 4356843 3047841 5970493 67063 181445 1685240 3290533 6934431 7923369 3815461 2374127 8091041 2609544 2701764 3070013 3893213 9715726 5140622 5257338 4092813 577...
output:
59513393103618
result:
ok single line: '59513393103618'
Test #20:
score: 0
Accepted
time: 46ms
memory: 42264kb
input:
200000 200000 200000 200000 4724417 6210315 3440521 7214400 5798559 3785828 3212026 4088489 5976720 7161922 3681748 9782591 8461969 686520 5577280 1113760 3466564 4813994 4882478 3135508 1551416 4932856 7305283 2534910 7953255 6977063 3472124 7157718 3227955 530440 3474067 5870152 7807262 5057342 73...
output:
59743483922671
result:
ok single line: '59743483922671'
Test #21:
score: 0
Accepted
time: 37ms
memory: 39996kb
input:
200000 200000 200000 200000 6351355 1574267 2978704 5580278 5879658 4453480 5003547 8615794 1704876 1689852 8824824 8133015 5582740 796519 4517506 2756712 5906399 1132276 7587563 8520452 1618047 8025950 4183090 4476324 4325541 2868889 9201887 730785 5250722 2551182 6679167 9491460 1900850 6095678 92...
output:
60852147658440
result:
ok single line: '60852147658440'
Test #22:
score: 0
Accepted
time: 32ms
memory: 44680kb
input:
200000 200000 200000 200000 134786 8276465 4156935 6551140 869462 1745306 8405092 2604664 1610159 8138635 4770396 2046625 9747578 4126346 7008725 7533876 8750938 6035452 637899 9107449 4019819 9976790 8076328 4873259 8755776 2996948 2781499 3383515 3332950 7124672 5222336 9621849 1423625 5188732 525...
output:
62031178136328
result:
ok single line: '62031178136328'
Test #23:
score: 0
Accepted
time: 44ms
memory: 42132kb
input:
200000 200000 200000 200000 4808097 6110589 1237076 9628230 3575374 3426250 7816629 9784762 5314099 2039075 8920641 2691568 8418474 8273551 8497254 3742534 9876181 5805926 8961264 8112795 3754785 2597015 4020148 3569663 9781739 3248875 6945792 9424100 1289624 3881780 8311312 8591865 223909 8989926 8...
output:
62068877803534
result:
ok single line: '62068877803534'
Test #24:
score: 0
Accepted
time: 52ms
memory: 39400kb
input:
200000 200000 200000 200000 447594 4113243 3700488 7899814 1636436 7891897 3256700 7377948 4512118 6545893 3058973 2463085 9394181 3124119 5510911 3985120 1354822 3773756 8498 7843429 390813 9233991 1120570 2407443 7965918 3031164 8499247 9554983 8920333 7542590 3178129 1540275 4099831 6693935 91719...
output:
59641688319371
result:
ok single line: '59641688319371'
Test #25:
score: 0
Accepted
time: 48ms
memory: 43884kb
input:
200000 200000 200000 200000 8875380 8124860 7221846 9186711 1390806 8216197 6506618 9677805 1891273 7649798 2555841 6077588 7416293 2640681 7081702 9746013 2742340 8140500 1480611 4700027 2883684 3356216 7763829 8700349 345946 8605414 9117665 4371880 68998 5780500 7669358 9517929 4996583 8881179 461...
output:
62749965411133
result:
ok single line: '62749965411133'
Test #26:
score: 0
Accepted
time: 50ms
memory: 40544kb
input:
200000 200000 200000 200000 6945526 2152614 846113 2858076 5567217 9540123 8438342 6564398 2597010 9340061 5651021 7995488 6473738 5567195 3647236 4699425 3399665 7029840 3154878 6832742 6695638 9936137 4054206 6732124 2274388 4099985 1072707 7547049 1068468 7025531 6867500 2750658 8820328 9089206 8...
output:
60912654699606
result:
ok single line: '60912654699606'
Test #27:
score: 0
Accepted
time: 60ms
memory: 45220kb
input:
200000 200000 200000 200000 8981287 5274378 1318436 2382017 1027831 9590714 7806707 5896910 8221443 9487002 4320082 3926867 2166741 7250178 4411900 2064325 8369940 3843114 1462747 1567413 3468072 8123332 8431911 4656197 784434 7742795 1658506 4615454 6567013 1078837 6269386 8715290 8114026 6060769 9...
output:
58873758971444
result:
ok single line: '58873758971444'
Test #28:
score: 0
Accepted
time: 60ms
memory: 43644kb
input:
200000 200000 200000 200000 7907189 782056 9338303 9948238 6382407 868346 6693761 440255 6474671 9754241 8523031 7126057 1758689 1496887 150937 1644712 1225750 3453819 1355775 438775 4297219 9531847 6392519 7855458 7257759 7896673 2001385 8850080 5208544 9922144 181451 9897481 8854674 6723284 457032...
output:
61962293047778
result:
ok single line: '61962293047778'
Test #29:
score: 0
Accepted
time: 62ms
memory: 40504kb
input:
200000 200000 200000 200000 5210336 1970703 875441 7113805 6298132 1217771 2621321 468128 439835 444680 8874152 1193302 2030892 8230458 6631484 3537164 9505758 3358274 1294703 6174635 9580163 9640373 2849902 7332223 8352370 3896479 7972355 6996386 2858622 2666171 1974194 5780002 1746931 5253968 4318...
output:
62110944691913
result:
ok single line: '62110944691913'
Test #30:
score: 0
Accepted
time: 79ms
memory: 44112kb
input:
200000 200000 200000 200000 3276619 749034 8833888 6612794 9249110 7004803 5680497 7991341 3694827 9659873 1992209 3142636 9875745 4548538 9243172 4878193 4923951 6871990 6680838 238169 367424 204567 1748378 8423517 4292026 9361380 6330521 3033319 6762346 3948236 5424935 5867363 9925177 3380350 1563...
output:
58807654755036
result:
ok single line: '58807654755036'
Test #31:
score: 0
Accepted
time: 106ms
memory: 36952kb
input:
200000 199999 200000 200000 622840 4429812 5568664 5110038 7346347 933358 1200881 288937 7885873 4281516 6858034 3101269 1157680 7146594 3771476 2532814 4576711 3503578 5151615 7859357 314211 1346613 2319050 2594238 3241050 7003775 5170496 142917 3951289 739637 4853996 5720690 9746203 4092116 886715...
output:
59735030528721
result:
ok single line: '59735030528721'
Test #32:
score: 0
Accepted
time: 91ms
memory: 36872kb
input:
200000 200000 200000 200000 8612973 2920801 6313369 6578158 4927023 8805999 4895216 5603349 991325 5723213 6704053 2480468 4162380 4381580 179248 6245358 7527708 558620 9541670 9259828 423432 9684325 1638493 7745937 4282209 6476936 4570810 3066600 9064629 4442430 7464099 6568878 7932358 3812372 8912...
output:
58880045125087
result:
ok single line: '58880045125087'
Test #33:
score: 0
Accepted
time: 76ms
memory: 39344kb
input:
200000 200000 200000 200000 5156906 1856271 2236776 3591079 2830871 1972414 7742251 2846435 1343817 7811248 576067 4581493 9510966 901858 5428159 8943836 9122494 2752484 2581264 7129974 4289814 6510270 2016468 7744533 9685170 6046213 9084960 8408663 9586385 8935694 6793095 7533823 53133 1618588 1069...
output:
61026838693119
result:
ok single line: '61026838693119'
Test #34:
score: 0
Accepted
time: 77ms
memory: 36924kb
input:
200000 200000 200000 200000 6044834 7850382 2246099 2605239 9169225 9186012 468247 8991077 970986 7762091 7389012 8788320 9691068 3271459 5817664 9719188 9507766 3937056 8541153 759677 5103349 4145462 3793091 1343304 4707504 902176 1558812 2770924 3120837 5374919 7592326 5486653 2285939 9196597 9300...
output:
60814613586497
result:
ok single line: '60814613586497'
Test #35:
score: 0
Accepted
time: 72ms
memory: 38684kb
input:
200000 200000 200000 200000 99813 8239889 6491512 8547045 9701329 817098 1989570 1773501 6183406 5692053 110348 823295 6941147 5404639 2801320 4087068 864191 2217779 5134047 8791049 5608218 7372457 8459235 8896704 6806318 8881187 1971385 1532962 852586 7803755 5703099 9328632 9734745 1711612 1363945...
output:
61680021530407
result:
ok single line: '61680021530407'
Test #36:
score: 0
Accepted
time: 56ms
memory: 39068kb
input:
200000 200000 200000 200000 6444560 3660118 4538691 3227655 235800 5182444 5630042 1528173 6076938 7166764 4101180 6100367 8462855 1095964 2887869 6187715 6390405 3829873 3652168 5870902 7153338 3372474 4034691 5099117 6528106 925468 3554879 5780772 9876277 3012514 5051270 9196880 1886651 2483065 33...
output:
62770192123223
result:
ok single line: '62770192123223'
Test #37:
score: 0
Accepted
time: 53ms
memory: 36780kb
input:
200000 200000 200000 200000 7352973 4172104 7764266 1736868 8860518 7692229 4553453 20337 6259600 7306043 9770853 7987376 9784002 4341362 8267496 2083912 7025175 9858783 7239615 2755613 1549808 9920359 6014766 7942328 6572266 1351494 6406569 5793356 7256170 94251 5936901 5731443 8590257 2710747 3597...
output:
62798600609635
result:
ok single line: '62798600609635'
Test #38:
score: 0
Accepted
time: 50ms
memory: 38608kb
input:
200000 200000 200000 200000 9250307 392438 7135097 3369325 1189275 635483 2326619 2917358 5775436 7371246 8535411 847092 96662 5505683 1208689 3767275 990196 1350785 7539513 9241112 5954227 1819327 3970132 4830981 1472516 9756337 6975770 4121185 7018058 5521350 472858 867253 2335049 9327878 3439202 ...
output:
60630520764625
result:
ok single line: '60630520764625'
Test #39:
score: 0
Accepted
time: 41ms
memory: 36480kb
input:
200000 200000 200000 200000 5683189 1663792 2572983 1106861 432189 8651828 5051276 934680 5360238 5017946 6849942 3119294 4936561 907121 2171977 8784512 3717850 9220484 7780235 871119 2718375 6874631 4505535 1496437 6351757 5869568 7934024 2231128 5961011 8146555 1490525 5145097 4954263 2710927 6755...
output:
60179898220159
result:
ok single line: '60179898220159'
Test #40:
score: 0
Accepted
time: 47ms
memory: 37280kb
input:
200000 200000 200000 200000 4324459 426374 1857958 6540222 5574328 1924764 4480625 6983875 401615 3047305 2618870 2632689 7740158 4036106 3933724 2338570 6933537 6004530 1766201 2480130 3557804 7721736 3266356 6111318 1604257 521402 5885198 3653386 3818242 4300298 584499 9986968 2728245 8842708 6226...
output:
58986805143886
result:
ok single line: '58986805143886'
Test #41:
score: 0
Accepted
time: 55ms
memory: 39148kb
input:
200000 200000 200000 200000 5838998 3697061 9449409 3694816 1092247 4491435 5414761 6689735 4939592 2439585 3405726 6875703 1087665 9151626 9435759 3470847 78057 3917195 1919648 3778953 5372599 4242983 6656669 5805904 1609604 6636195 9360056 7858762 1148717 143979 191651 6609804 9479081 9763970 9984...
output:
58120529748884
result:
ok single line: '58120529748884'
Test #42:
score: 0
Accepted
time: 40ms
memory: 36304kb
input:
200000 200000 200000 200000 5776413 4375666 5918277 2591874 4987875 7215319 4001648 7240614 2268009 5490056 6055548 1311549 5463022 1492389 7088007 5803566 9455738 7157776 2340222 7212860 9639876 6747846 5725798 2674435 4048279 6166316 6154915 921805 4293636 4592270 9881983 8742296 425368 6243681 15...
output:
57822154746804
result:
ok single line: '57822154746804'
Test #43:
score: 0
Accepted
time: 36ms
memory: 37724kb
input:
200000 200000 200000 200000 4099336 9698959 5592054 9281836 9190107 7286549 6119010 1634973 2777006 9154188 988425 4635186 1761218 5625105 1639424 1734896 8538329 3690118 7698956 2035872 4772250 7344096 1009953 7319269 1059630 6294026 2590207 8348359 4225724 1899807 6319242 3219741 5023778 7264211 6...
output:
60261481121995
result:
ok single line: '60261481121995'
Test #44:
score: 0
Accepted
time: 46ms
memory: 35700kb
input:
200000 200000 200000 200000 2641287 957715 1805593 7628668 3638736 4623758 3596179 9968460 3661236 5840538 2507125 4333090 1183308 7398535 6568530 6724034 5947561 1653580 8290953 5641543 6322528 7915976 1840707 5712714 857818 4682218 2420837 6613137 5518408 269498 9654742 7102140 2772638 1703042 182...
output:
59612144352495
result:
ok single line: '59612144352495'
Test #45:
score: 0
Accepted
time: 31ms
memory: 36644kb
input:
200000 200000 200000 200000 8078321 4864710 8209938 8545214 6210076 4956872 3580188 3145560 3068225 9945807 6854879 2997345 1380599 8161403 655395 6370384 2633080 1018739 5964493 3366368 9667249 9684338 7451823 1635063 9098073 6557082 9410062 470861 325057 8503063 7036424 4943934 6114101 9561774 904...
output:
58555569262085
result:
ok single line: '58555569262085'
Test #46:
score: 0
Accepted
time: 50ms
memory: 38444kb
input:
200000 200000 200000 200000 7284281 4308026 4069632 468882 3679745 171834 2332267 5270142 1254770 3317789 5913659 6134924 430736 1299803 3254991 2772999 9444687 5610304 2850957 3811721 2068361 7215058 5755788 492122 6092613 5996225 9190642 8219820 2487509 5409226 1129639 4963385 3005141 7745584 2241...
output:
56950333217843
result:
ok single line: '56950333217843'
Test #47:
score: 0
Accepted
time: 47ms
memory: 36056kb
input:
200000 200000 200000 200000 3063164 9824963 7026826 186331 7294189 8425952 1979972 8494780 7854569 3069468 4221117 218438 3393510 1559496 6408184 9411188 2284083 8853249 9394809 4878194 6825253 1598745 6502397 7995859 7173441 9821293 5588901 9247028 8189096 9317661 8350658 2852966 2699857 6322258 56...
output:
57708850913432
result:
ok single line: '57708850913432'
Test #48:
score: 0
Accepted
time: 48ms
memory: 37836kb
input:
200000 200000 200000 200000 5910346 8539538 6553342 7274261 1064654 2370582 264714 3574351 7283737 6645599 5078630 8524395 5688648 1357198 6547060 9864293 4584761 8816881 6197488 3892097 8513670 1006711 6881180 8895745 603195 7764314 2384728 3083343 6287588 6823626 6146910 1170572 4909354 827901 754...
output:
54187539193875
result:
ok single line: '54187539193875'
Test #49:
score: 0
Accepted
time: 52ms
memory: 36284kb
input:
200000 200000 200000 200000 9516376 6129217 4121205 5428853 3883537 2983375 2250831 4316810 3633104 4919642 9182389 1801647 2854589 8678512 765717 597982 9533430 4923706 9099244 9211414 2241460 7304454 8032907 7667008 4852171 9793553 54120 1726717 8945165 2858170 4012668 6565387 2487036 8267776 5895...
output:
56141860890761
result:
ok single line: '56141860890761'
Test #50:
score: 0
Accepted
time: 51ms
memory: 37160kb
input:
200000 200000 200000 200000 6144837 8895225 6437397 1644175 7539546 435785 8957081 8559100 2096359 6816181 180986 4523039 9086523 1717094 393221 328756 4021598 7184675 5832395 199274 6845791 8628938 78219 3530526 9259704 8196049 4734620 4342940 807066 1215063 6976621 9189513 1230872 9912911 3175846 ...
output:
55007251046154
result:
ok single line: '55007251046154'
Test #51:
score: 0
Accepted
time: 49ms
memory: 37204kb
input:
200000 200000 200000 200000 7713701 4731674 5268337 3444067 4716915 3584214 1782031 9778449 7323800 7266904 7100688 2960983 3606838 8568343 8300512 4114066 3984616 8917965 9533198 3064264 9983543 313953 5811545 4210011 1381080 8351170 2923772 7529060 4311966 5219713 6430586 6240029 4440993 627138 50...
output:
49663699863803
result:
ok single line: '49663699863803'
Test #52:
score: 0
Accepted
time: 39ms
memory: 36652kb
input:
200000 200000 200000 200000 8311783 4306552 902717 6024399 3066975 9804673 4114195 3398432 5064243 3232319 9710998 1629178 2011499 3949579 8408811 3875338 5833362 9435796 9027354 2076644 7394560 208788 8203351 2404699 4080203 4948579 3770893 2982135 6605336 8792092 959017 8137273 7968822 9706686 235...
output:
59473616972537
result:
ok single line: '59473616972537'
Test #53:
score: 0
Accepted
time: 49ms
memory: 37684kb
input:
200000 200000 200000 200000 797406 3606980 2502735 3966965 1757552 3136203 1702010 2180701 9061958 4059725 3317411 6914865 9875881 7366184 7406204 6277276 531220 7487180 1035207 2187541 5742891 2570509 7125426 7409578 7769379 8753721 1271049 481769 8083653 8696113 237997 1435665 2570721 784526 39798...
output:
44425850828060
result:
ok single line: '44425850828060'
Test #54:
score: 0
Accepted
time: 44ms
memory: 37540kb
input:
200000 200000 200000 200000 493352 4898774 6573983 1259771 4998156 3306812 1377817 9136157 2395581 1459668 2927128 3169287 9478888 6209522 3299937 6937699 1863988 2709667 9692055 4527446 3137049 3720309 2160086 2777151 5957672 5909928 1547185 2463983 5906526 4651787 1337785 3013275 4133073 5481413 9...
output:
52655784516294
result:
ok single line: '52655784516294'
Test #55:
score: 0
Accepted
time: 46ms
memory: 40640kb
input:
200000 199999 200000 200000 15708 14825 13012 1325 9122 19052 3954 7770 7185 14360 17751 18312 7203 11874 14964 9117 5988 5578 5922 2840 2042 7948 16959 453 9250 882 8447 17806 12878 12791 7379 10598 5908 5451 12797 11824 16324 7858 15365 9874 12720 2126 939 386 7254 13974 19252 9722 1549 6436 1297 ...
output:
77603933548
result:
ok single line: '77603933548'
Test #56:
score: 0
Accepted
time: 52ms
memory: 39572kb
input:
200000 199999 200000 200000 10574 18373 18303 9388 10266 5798 11099 19478 2567 4014 13584 14829 19629 15624 15242 13724 9896 3454 19659 8413 8537 70 18654 13900 19709 19025 4917 12912 5004 11837 14765 5192 438 3652 2399 9337 16986 18587 18692 10951 11697 13671 19031 18608 5489 7710 5324 10371 12761 ...
output:
25052695524
result:
ok single line: '25052695524'
Test #57:
score: 0
Accepted
time: 53ms
memory: 39056kb
input:
200000 199996 200000 200000 11667 7042 176 3230 4022 3277 6010 10634 19430 5442 1246 14534 3781 1240 11462 18677 11252 14269 12550 12782 3065 18582 15065 8153 16935 15691 19168 9154 6439 8789 881 13417 15109 18961 13341 2006 13618 17842 12682 2319 11857 14405 1461 9179 4807 8404 12568 12997 16110 61...
output:
16612730807
result:
ok single line: '16612730807'
Test #58:
score: 0
Accepted
time: 56ms
memory: 39272kb
input:
200000 199999 200000 200000 7400 7256 16264 12155 10090 11565 16474 10911 16670 7573 8077 9594 12927 13931 7938 7190 15256 9148 13782 1423 2521 19262 15948 9743 19501 13952 14198 154 11986 3743 2878 17888 3415 4423 18336 7885 6567 1554 16779 1232 123 11276 12591 11063 11502 2497 11073 7591 15418 184...
output:
10054886332
result:
ok single line: '10054886332'
Test #59:
score: 0
Accepted
time: 53ms
memory: 39444kb
input:
200000 199999 200000 200000 14342 17500 8650 893 17042 608 19794 6118 7500 14819 7699 16771 18580 13713 16399 13898 16545 8821 9017 16430 15880 15185 3893 18050 14136 17585 16523 11465 15533 997 10580 8211 5681 1076 17127 8616 15309 3282 15526 18756 17567 264 5240 17335 13967 17108 4573 685 4358 782...
output:
7448297508
result:
ok single line: '7448297508'
Test #60:
score: 0
Accepted
time: 67ms
memory: 39556kb
input:
200000 199999 200000 200000 2993 10807 16152 16726 5142 6168 15407 3290 13232 1966 10106 4128 14092 7965 1308 1232 12041 15574 18584 14617 7038 19908 8343 17919 14706 10119 8416 1522 16363 10242 10984 16251 18250 13759 19551 5646 12753 3427 13945 6446 15285 14446 12349 6701 10084 19092 19339 7935 17...
output:
5060117985
result:
ok single line: '5060117985'
Test #61:
score: 0
Accepted
time: 3ms
memory: 28780kb
input:
200000 1 200000 200000 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 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...
output:
1000000001
result:
ok single line: '1000000001'