QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#65915 | #1490. Road Closures | qwq | 100 ✓ | 181ms | 43308kb | C++14 | 2.8kb | 2022-12-04 12:40:10 | 2022-12-04 12:40:14 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 4ms
memory: 7860kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 559 717769868 0 237 766447943 0 122 517523402 0 1779 560381127 0 1477 566064983 0 67 303410673 0 1869 605544497 0 1769 774963386 0 457 469996896 0 201 995323973 0 1694 885366346 0 1547 362843462 0 55 947026157 0 1302 448837561 0 733 673028958 0 1139 65...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1239932930636 1238933034699 1237933274404 1236933811304 1235934429141 1234937111512 1233940392882 1232944051225 1231948294381 1230952540572 1229957216599 1228962389458 1227967672340 1226973261544 1225980503037 1224988213004 1223996200036 1223004619782 1222...
result:
ok 3 lines
Test #2:
score: 0
Accepted
time: 0ms
memory: 6764kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 1442 1000000000 0 1429 1000000000 0 446 1000000000 0 149 1000000000 0 1530 1000000000 0 527 1000000000 0 859 1000000000 0 297 1000000000 0 1575 1000000000 0 900 1000000000 0 1792 1000000000 0 1962 1000000000 0 1566 1000000000 0 1372 1000000000 0 1538 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999000000000 1998000000000 1997000000000 1996000000000 1995000000000 1994000000000 1993000000000 1992000000000 1991000000000 1990000000000 1989000000000 1988000000000 1987000000000 1986000000000 1985000000000 1984000000000 1983000000000 1982000000000 1981...
result:
ok 3 lines
Test #3:
score: 0
Accepted
time: 0ms
memory: 6520kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 136 0 120 700717317 0 123 718572676 0 132 959462853 0 107 530118580 0 9 969226913 0 82 871844182 0 84 845338769 0 65 892873084 0 128 633096137 0 42 505691290 0 62 551920432 0 69 901803199 0 71 543402077 0 22 684844125 0 38 696996987 0 108 824527065 0 58 70901...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99836216760 98851977125 97870361891 96897562987 95925870841 94956643928 93989200634 93027802434 92068339581 91108999837 90153109803 89203933069 88257991949 87313068234 86374187295 85435928745 84501934377 83572524493 82645816813 81733435400 80822405308 7991...
result:
ok 3 lines
Test #4:
score: 0
Accepted
time: 5ms
memory: 6496kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 77 391886950 0 57 553091833 0 80 906348882 0 40 506652307 0 184 338560594 0 87 380862436 0 170 684734760 0 191 857396956 0 27 637257239 0 185 529164085 0 33 458571287 0 133 769321525 0 41 671206065 0 166 200260384 0 189 210065789 0 23 512103998 0 18 622...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 100983628068 99984459468 98998058529 98013796639 97032988739 96054503035 95078925288 94109019082 93145666200 92183527659 91225019525 90269487976 89324715876 88404499721 87495915174 86589566292 85686021041 84789119369 83893847847 82999595315 82140298258 812...
result:
ok 3 lines
Test #5:
score: 0
Accepted
time: 3ms
memory: 7640kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 194 1000000000 0 127 1000000000 0 165 1000000000 0 93 1000000000 0 103 1000000000 0 27 1000000000 0 77 1000000000 0 7 1000000000 0 15 1000000000 0 1 1000000000 0 173 1000000000 0 149 1000000000 0 86 1000000000 0 67 1000000000 0 133 1000000000 0 75 10000...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 199000000000 198000000000 197000000000 196000000000 195000000000 194000000000 193000000000 192000000000 191000000000 190000000000 189000000000 188000000000 187000000000 186000000000 185000000000 184000000000 183000000000 182000000000 181000000000 180000000...
result:
ok 3 lines
Test #6:
score: 0
Accepted
time: 0ms
memory: 8432kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1685 0 416 6 0 1238 7 0 1121 5 0 192 9 0 308 5 0 948 7 0 762 7 0 1413 10 0 214 7 0 1607 7 0 376 5 0 1169 7 0 385 7 0 150 9 0 542 10 0 50 10 0 1206 6 0 434 7 0 618 5 0 768 10 0 1355 6 0 1561 8 0 121 5 0 1011 10 0 1150 9 0 1230 10 0 1372 8 0 536 10 0 1000 6 0 7...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 12587 12577 12567 12557 12547 12537 12527 12517 12507 12497 12487 12477 12467 12457 12447 12437 12427 12417 12407 12397 12387 12377 12367 12357 12347 12337 12327 12317 12307 12297 12287 12277 12267 12257 12247 12237 12227 12217 12207 12197 12187 12177 1216...
result:
ok 3 lines
Test #7:
score: 0
Accepted
time: 4ms
memory: 8648kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 1639 4 0 905 3 0 1918 7 0 1730 6 0 792 5 0 275 5 0 79 6 0 1555 3 0 1679 7 0 777 9 0 1790 10 0 1749 3 0 1430 4 0 1091 7 0 1598 8 0 738 10 0 342 6 0 1454 7 0 933 5 0 252 2 0 762 8 0 1224 4 0 156 5 0 227 10 0 791 3 0 1183 3 0 1937 10 0 1279 9 0 1773 4 0 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 10930 10920 10910 10900 10890 10880 10870 10860 10850 10840 10830 10820 10810 10800 10790 10780 10770 10760 10750 10740 10730 10720 10710 10700 10690 10680 10670 10660 10650 10640 10630 10620 10610 10600 10590 10580 10570 10560 10550 10540 10530 10520 1051...
result:
ok 3 lines
Test #8:
score: 0
Accepted
time: 3ms
memory: 7568kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 188 0 73 7 0 161 7 0 172 10 0 88 8 0 180 9 0 81 7 0 28 8 0 92 8 0 57 7 0 66 10 0 108 8 0 156 10 0 142 8 0 65 6 0 130 6 0 166 6 0 132 7 0 43 7 0 87 7 0 171 8 0 53 5 0 151 9 0 68 5 0 37 8 0 67 9 0 99 5 0 15 5 0 148 10 0 31 7 0 46 8 0 23 5 0 162 5 0 168 6 0 136 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1376 1366 1356 1346 1336 1326 1316 1306 1296 1286 1276 1266 1256 1246 1236 1226 1216 1206 1196 1186 1176 1166 1156 1146 1136 1126 1117 1108 1099 1090 1081 1072 1063 1054 1045 1036 1027 1018 1009 1000 991 982 973 964 955 946 937 928 919 910 901 892 883 874 ...
result:
ok 3 lines
Test #9:
score: 0
Accepted
time: 0ms
memory: 7680kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 40 10 0 17 9 0 71 8 0 61 3 0 126 5 0 47 1 0 64 8 0 128 6 0 25 2 0 168 5 0 196 1 0 75 3 0 177 9 0 190 8 0 197 3 0 97 10 0 19 2 0 187 8 0 48 1 0 4 9 0 154 4 0 94 5 0 141 6 0 68 8 0 143 5 0 5 8 0 172 2 0 155 1 0 112 7 0 72 1 0 33 8 0 127 8 0 101 9 0 108 3 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1110 1100 1090 1080 1070 1060 1050 1040 1030 1020 1010 1000 990 980 970 960 950 940 930 920 911 902 893 884 875 866 857 848 839 830 821 812 803 794 785 776 767 758 749 740 731 722 714 706 698 690 682 674 666 658 650 642 634 626 618 610 602 594 586 578 570 ...
result:
ok 3 lines
Test #10:
score: 0
Accepted
time: 60ms
memory: 15260kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 60145 0 38832 8 0 33327 7 0 10015 8 0 32059 7 0 2920 8 0 25980 10 0 12777 6 0 49541 10 0 16526 9 0 31021 10 0 43794 7 0 2769 5 0 27040 5 0 57465 10 0 7213 6 0 5285 6 0 17505 9 0 38268 8 0 39509 5 0 33647 5 0 43349 6 0 16916 5 0 52054 7 0 34160 6 0 19654 5 0 5...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 450282 450272 450262 450252 450242 450232 450222 450212 450202 450192 450182 450172 450162 450152 450142 450132 450122 450112 450102 450092 450082 450072 450062 450052 450042 450032 450022 450012 450002 449992 449982 449972 449962 449952 449942 449932 4499...
result:
ok 3 lines
Test #11:
score: 0
Accepted
time: 97ms
memory: 21316kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 64607 7 0 42385 10 0 44292 9 0 97403 1 0 42195 1 0 70381 3 0 68569 6 0 93180 5 0 31137 7 0 70116 6 0 96244 1 0 54751 8 0 72471 5 0 94446 6 0 30081 6 0 16107 2 0 73322 5 0 57820 10 0 8737 10 0 1185 2 0 54617 10 0 25921 4 0 44736 9 0 1962 3 0 21198 7 0...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 548703 548693 548683 548673 548663 548653 548643 548633 548623 548613 548603 548593 548583 548573 548563 548553 548543 548533 548523 548513 548503 548493 548483 548473 548463 548453 548443 548433 548423 548413 548403 548393 548383 548373 548363 548353 5483...
result:
ok 3 lines
Test #12:
score: 0
Accepted
time: 130ms
memory: 18984kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 88851 0 40855 622714961 0 70076 701675758 0 55790 799992272 0 61987 545931423 0 86704 840742298 0 55912 528364653 0 37463 965102567 0 55688 624240495 0 74198 725625072 0 74289 755182409 0 13771 908523605 0 28737 837964967 0 43690 894939556 0 71518 822608357 0...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 66749858652979 66748858659468 66747858675656 66746858693735 66745858724395 66744858762460 66743858801493 66742858841393 66741858883656 66740858935748 66739858988563 66738859041617 66737859106551 66736859173429 66735859245980 66734859319091 66733859397067 6...
result:
ok 3 lines
Test #13:
score: 0
Accepted
time: 141ms
memory: 20720kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 98551 0 64477 789693210 0 75849 919904246 0 5858 334810540 0 1992 899129859 0 25751 816351530 0 45047 764387162 0 14638 919517781 0 94241 749903186 0 96141 569237013 0 53416 848711927 0 12118 115232734 0 36645 591518010 0 26163 831171118 0 37195 597674568 0 2...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 49310888429811 49309888439578 49308888451477 49307888503541 49306888573521 49305888653275 49304888758903 49303888906551 49302889066290 49301889227025 49300889389284 49299889567710 49298889752463 49297889937436 49296890128547 49295890334377 49294890542751 4...
result:
ok 3 lines
Test #14:
score: 0
Accepted
time: 138ms
memory: 20856kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 51885 561502960 0 79618 679798313 0 88404 698369677 0 82752 717251049 0 36763 765605128 0 71714 914255275 0 84778 693567588 0 76892 797931295 0 57322 745927626 0 46961 860782160 0 58841 494039244 0 26464 944951246 0 44554 696825163 0 84294 466009891 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 66717828864117 66716828868457 66715828879614 66714828891996 66713828926388 66712828962436 66711829002326 66710829044021 66709829089618 66708829137386 66707829188710 66706829243094 66705829307976 66704829378460 66703829454208 66702829530079 66701829608227 6...
result:
ok 3 lines
Test #15:
score: 0
Accepted
time: 106ms
memory: 19068kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 41763 1000000000 0 98405 1000000000 0 8801 1000000000 0 65884 1000000000 0 5569 1000000000 0 74331 1000000000 0 86457 1000000000 0 39267 1000000000 0 67218 1000000000 0 17626 1000000000 0 93891 1000000000 0 24509 1000000000 0 39861 1000000000 0 89041...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999000000000 99998000000000 99997000000000 99996000000000 99995000000000 99994000000000 99993000000000 99992000000000 99991000000000 99990000000000 99989000000000 99988000000000 99987000000000 99986000000000 99985000000000 99984000000000 99983000000000 9...
result:
ok 3 lines
Test #16:
score: 0
Accepted
time: 95ms
memory: 18456kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 90409 0 66184 1 0 47848 1 0 62608 1 0 36158 1 0 74174 1 0 13866 1 0 46156 1 0 17074 1 0 12804 1 0 74594 1 0 17874 1 0 27433 1 0 17723 1 0 43913 1 0 71447 1 0 80816 1 0 31782 1 0 34144 1 0 53165 1 0 12232 1 0 68107 1 0 24045 1 0 83199 1 0 11635 1 0 28304 1 0 5...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 90408 90407 90406 90405 90404 90403 90402 90401 90400 90399 90398 90397 90396 90395 90394 90393 90392 90391 90390 90389 90388 90387 90386 90385 90384 90383 90382 90381 90380 90379 90378 90377 90376 90375 90374 90373 90372 90371 90370 90369 90368 90367 9036...
result:
ok 3 lines
Test #17:
score: 0
Accepted
time: 5ms
memory: 7684kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 4
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 4 0
result:
ok 3 lines
Test #18:
score: 0
Accepted
time: 7ms
memory: 7928kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1881 0 863 733310362 0 749 620592065 0 439 941355812 0 247 917114917 0 780 618208487 0 1089 839140158 0 306 574874450 0 1469 722372298 0 895 523918638 0 814 947179614 0 1833 626745535 0 510 909955698 0 142 647435145 0 996 801388995 0 1374 546723246 0 1078 728...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1413341451956 1412341597349 1411342001784 1410342741854 1409343657707 1408345535592 1407347701767 1406350003446 1405352621656 1404355250390 1403357882901 1402360583868 1401363285085 1400366132832 1399369805765 1398374108047 1397378956465 1396384178900 1395...
result:
ok 3 lines
Subtask #2:
score: 7
Accepted
Test #19:
score: 7
Accepted
time: 1ms
memory: 7784kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 4
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 4 0
result:
ok 3 lines
Test #20:
score: 0
Accepted
time: 58ms
memory: 36892kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 82978 0 1 687749865 1 2 811016969 2 3 502155590 3 4 930576294 4 5 879987412 5 6 883450944 6 7 975772046 7 8 739249697 8 9 954502114 9 10 962223056 10 11 562948742 11 12 933819577 12 13 614418299 13 14 724040317 14 15 798630312 15 16 583709944 16 17 634442427 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 62302380746314 30279591664360 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #21:
score: 0
Accepted
time: 71ms
memory: 40848kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 93546 0 1 290395864 1 2 691792065 2 3 835413884 3 4 710017326 4 5 260033127 5 6 653931538 6 7 436315036 7 8 457880361 8 9 309935199 9 10 852772849 10 11 514034846 11 12 383007265 12 13 382658811 13 14 360592330 14 15 393423735 15 16 96114953 16 17 372806844 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 46896508581910 19411729586291 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #22:
score: 0
Accepted
time: 68ms
memory: 43300kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 1 535716508 1 2 834689223 2 3 936888828 3 4 622366241 4 5 708605912 5 6 758421977 6 7 943752359 7 8 532568340 8 9 660522341 9 10 526589282 10 11 407223876 11 12 396491315 12 13 803568283 13 14 555205600 14 15 725646618 15 16 373592297 16 17 980551825...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 66701059031889 31442955862629 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #23:
score: 0
Accepted
time: 60ms
memory: 43260kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 1 1000000000 1 2 1000000000 2 3 1000000000 3 4 1000000000 4 5 1000000000 5 6 1000000000 6 7 1000000000 7 8 1000000000 8 9 1000000000 9 10 1000000000 10 11 1000000000 11 12 1000000000 12 13 1000000000 13 14 1000000000 14 15 1000000000 15 16 1000000000...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999000000000 49999000000000 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #24:
score: 0
Accepted
time: 7ms
memory: 8532kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1732 0 1 858069575 1 2 643017934 2 3 540485959 3 4 820000496 4 5 776986350 5 6 604493611 6 7 577636752 7 8 685510561 8 9 865040992 9 10 762236552 10 11 923488407 11 12 636650815 12 13 728034498 13 14 735002870 14 15 619256548 15 16 514085722 16 17 744134689 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1299591209599 630022056918 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #25:
score: 0
Accepted
time: 7ms
memory: 8776kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 1 309682260 1 2 582822719 2 3 372695773 3 4 255854267 4 5 992051341 5 6 355887755 6 7 910109803 7 8 568867708 8 9 869299390 9 10 650032264 10 11 371463568 11 12 786674220 12 13 304201693 13 14 855741258 14 15 806288832 15 16 633487600 16 17 633235427 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1239764761863 562451883340 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #26:
score: 0
Accepted
time: 7ms
memory: 6988kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1801 0 1 1000000000 1 2 1000000000 2 3 1000000000 3 4 1000000000 4 5 1000000000 5 6 1000000000 6 7 1000000000 7 8 1000000000 8 9 1000000000 9 10 1000000000 10 11 1000000000 11 12 1000000000 12 13 1000000000 13 14 1000000000 14 15 1000000000 15 16 1000000000 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1800000000000 900000000000 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #27:
score: 0
Accepted
time: 1ms
memory: 6660kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 171 0 1 766172074 1 2 931210333 2 3 725812205 3 4 639092706 4 5 802029394 5 6 634444904 6 7 666167555 7 8 825997857 8 9 851226871 9 10 843589661 10 11 970684047 11 12 748794185 12 13 791747935 13 14 948683271 14 15 978918318 15 16 829093463 16 17 648684939 17...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 129209451152 62155967967 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #28:
score: 0
Accepted
time: 2ms
memory: 7612kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 191 0 1 729078100 1 2 767557971 2 3 180298865 3 4 114953486 4 5 191065394 5 6 940938196 6 7 610880461 7 8 328050996 8 9 183108344 9 10 726774422 10 11 212906788 11 12 321599678 12 13 408399561 13 14 306515309 14 15 992339932 15 16 500835110 16 17 744715358 17...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 91692922954 37294969453 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #29:
score: 0
Accepted
time: 3ms
memory: 6424kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 1 1000000000 1 2 1000000000 2 3 1000000000 3 4 1000000000 4 5 1000000000 5 6 1000000000 6 7 1000000000 7 8 1000000000 8 9 1000000000 9 10 1000000000 10 11 1000000000 11 12 1000000000 12 13 1000000000 13 14 1000000000 14 15 1000000000 15 16 1000000000 16...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 199000000000 99000000000 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #30:
score: 0
Accepted
time: 44ms
memory: 28240kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 59921 0 1 5 1 2 8 2 3 6 3 4 5 4 5 6 5 6 7 6 7 10 7 8 6 8 9 6 9 10 7 10 11 8 11 12 8 12 13 8 13 14 10 14 15 8 15 16 9 16 17 10 17 18 9 18 19 10 19 20 9 20 21 5 21 22 7 22 23 9 23 24 10 24 25 7 25 26 6 26 27 5 27 28 9 28 29 8 29 30 10 30 31 9 31 32 8 32 33 5 33...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 448845 215903 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #31:
score: 0
Accepted
time: 54ms
memory: 43308kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 1 6 1 2 5 2 3 5 3 4 6 4 5 8 5 6 1 6 7 8 7 8 1 8 9 10 9 10 6 10 11 4 11 12 2 12 13 3 13 14 8 14 15 3 15 16 7 16 17 3 17 18 7 18 19 3 19 20 1 20 21 7 21 22 8 22 23 7 23 24 1 24 25 5 25 26 8 26 27 5 27 28 3 28 29 3 29 30 5 30 31 8 31 32 9 32 33 4 33 34 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 551723 235653 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #32:
score: 0
Accepted
time: 81ms
memory: 39600kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 90075 0 1 1 1 2 1 2 3 1 3 4 1 4 5 1 5 6 1 6 7 1 7 8 1 8 9 1 9 10 1 10 11 1 11 12 1 12 13 1 13 14 1 14 15 1 15 16 1 16 17 1 17 18 1 18 19 1 19 20 1 20 21 1 21 22 1 22 23 1 23 24 1 24 25 1 25 26 1 26 27 1 27 28 1 28 29 1 29 30 1 30 31 1 31 32 1 32 33 1 33 34 1 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 90074 45037 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #33:
score: 0
Accepted
time: 59ms
memory: 43180kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 0 1 1 1 2 1 2 3 1 3 4 1 4 5 1 5 6 1 6 7 1 7 8 1 8 9 1 9 10 1 10 11 1 11 12 1 12 13 1 13 14 1 14 15 1 15 16 1 16 17 1 17 18 1 18 19 1 19 20 1 20 21 1 21 22 1 22 23 1 23 24 1 24 25 1 25 26 1 26 27 1 27 28 1 28 29 1 29 30 1 30 31 1 31 32 1 32 33 1 33 34 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 49999 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Subtask #3:
score: 14
Accepted
Test #34:
score: 14
Accepted
time: 3ms
memory: 7752kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 4
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 4 0
result:
ok 3 lines
Test #35:
score: 0
Accepted
time: 1ms
memory: 6596kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 5 0 1 1 0 2 4 0 3 3 2 4 2
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 10 5 1 0 0
result:
ok 3 lines
Test #36:
score: 0
Accepted
time: 2ms
memory: 8152kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 4 0 1 5 2 0 10 0 3 5
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 20 10 5 0
result:
ok 3 lines
Test #37:
score: 0
Accepted
time: 6ms
memory: 8068kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 150 107 123 877656381 75 23 954037632 23 0 751950653 15 3 886375777 18 44 979176984 59 26 735548230 94 75 977809165 12 93 589331204 116 149 874044974 40 42 998026262 99 142 937689560 2 121 955527621 6 16 696503256 137 136 966670903 93 30 543967244 148 18 5618...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 112502233251 61480101900 23849866017 7205365011 2670369795 1131009335 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 ...
result:
ok 3 lines
Test #38:
score: 0
Accepted
time: 3ms
memory: 7776kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 126 36 854580157 194 138 174351178 144 118 18591252 94 178 131895119 103 61 545239983 150 171 722872344 130 171 234326384 78 130 88895337 118 190 347800128 102 92 313023597 161 164 755671959 128 13 683463430 163 134 203051546 195 104 745004613 37 93 31855...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 95931364777 44461319111 16039412826 4614982035 1227110637 246872407 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 ...
result:
ok 3 lines
Test #39:
score: 0
Accepted
time: 3ms
memory: 7000kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 191 162 59 1 36 41 1 95 139 1 6 60 1 177 41 1 21 93 1 132 93 1 8 26 1 109 26 1 104 139 1 153 59 1 75 53 1 23 53 1 17 59 1 81 72 1 46 26 1 3 60 1 42 139 1 146 59 1 175 139 1 166 72 20 1 41 1 49 60 1 80 26 1 154 139 1 182 93 1 89 26 1 127 59 1 125 139 1 26 72 2...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 360 332 304 276 248 220 192 164 136 109 99 89 79 69 59 49 39 29 19 9 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...
result:
ok 3 lines
Test #40:
score: 0
Accepted
time: 0ms
memory: 8012kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 181 5 80 816387190 160 138 908601689 145 125 961098468 107 51 182148967 54 17 306520506 25 98 461279198 170 25 867673026 152 103 101308465 64 38 218259664 24 1 190808943 113 180 736130508 62 13 73474652 0 98 287189855 6 121 528919853 22 118 719609142 86 146 3...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 84015413152 42747965100 18248850970 5738045583 1706592061 395623300 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 ...
result:
ok 3 lines
Test #41:
score: 0
Accepted
time: 3ms
memory: 7560kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 163 183 1000000000 199 49 1000000000 107 142 1000000000 51 181 1000000000 113 150 1000000000 177 97 1000000000 65 111 1000000000 193 16 1000000000 102 22 1000000000 91 180 1000000000 94 0 1000000000 68 193 1000000000 2 116 1000000000 189 180 1000000000 93...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 199000000000 117000000000 63000000000 36000000000 18000000000 9000000000 4000000000 2000000000 1000000000 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 ...
result:
ok 3 lines
Test #42:
score: 0
Accepted
time: 6ms
memory: 8096kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 15 164 908760209 0 78 964622612 167 110 977573022 123 165 965418004 53 164 959960110 198 185 915250829 140 168 976448278 41 133 984136170 108 103 994961811 124 123 995127420 116 159 951367854 192 83 981333268 104 159 934640323 103 34 906191523 26 159 9225...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 188936224485 127454961384 89577027303 75298363278 66637420275 59006987048 51415908748 43858574765 37176332375 30602849218 24957582335 19322064872 13737648201 8203882220 2731063202 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 ...
result:
ok 3 lines
Test #43:
score: 0
Accepted
time: 8ms
memory: 7704kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 171 0 1 766172074 1 2 931210333 2 3 725812205 3 4 639092706 4 5 802029394 5 6 634444904 6 7 666167555 7 8 825997857 8 9 851226871 9 10 843589661 10 11 970684047 11 12 748794185 12 13 791747935 13 14 948683271 14 15 978918318 15 16 829093463 16 17 648684939 17...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 129209451152 62155967967 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #44:
score: 0
Accepted
time: 4ms
memory: 8192kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 191 0 1 729078100 1 2 767557971 2 3 180298865 3 4 114953486 4 5 191065394 5 6 940938196 6 7 610880461 7 8 328050996 8 9 183108344 9 10 726774422 10 11 212906788 11 12 321599678 12 13 408399561 13 14 306515309 14 15 992339932 15 16 500835110 16 17 744715358 17...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 91692922954 37294969453 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #45:
score: 0
Accepted
time: 0ms
memory: 8228kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 1 1000000000 1 2 1000000000 2 3 1000000000 3 4 1000000000 4 5 1000000000 5 6 1000000000 6 7 1000000000 7 8 1000000000 8 9 1000000000 9 10 1000000000 10 11 1000000000 11 12 1000000000 12 13 1000000000 13 14 1000000000 14 15 1000000000 15 16 1000000000 16...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 199000000000 99000000000 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #46:
score: 0
Accepted
time: 5ms
memory: 6628kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 136 0 120 700717317 0 123 718572676 0 132 959462853 0 107 530118580 0 9 969226913 0 82 871844182 0 84 845338769 0 65 892873084 0 128 633096137 0 42 505691290 0 62 551920432 0 69 901803199 0 71 543402077 0 22 684844125 0 38 696996987 0 108 824527065 0 58 70901...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99836216760 98851977125 97870361891 96897562987 95925870841 94956643928 93989200634 93027802434 92068339581 91108999837 90153109803 89203933069 88257991949 87313068234 86374187295 85435928745 84501934377 83572524493 82645816813 81733435400 80822405308 7991...
result:
ok 3 lines
Test #47:
score: 0
Accepted
time: 6ms
memory: 7800kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 77 391886950 0 57 553091833 0 80 906348882 0 40 506652307 0 184 338560594 0 87 380862436 0 170 684734760 0 191 857396956 0 27 637257239 0 185 529164085 0 33 458571287 0 133 769321525 0 41 671206065 0 166 200260384 0 189 210065789 0 23 512103998 0 18 622...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 100983628068 99984459468 98998058529 98013796639 97032988739 96054503035 95078925288 94109019082 93145666200 92183527659 91225019525 90269487976 89324715876 88404499721 87495915174 86589566292 85686021041 84789119369 83893847847 82999595315 82140298258 812...
result:
ok 3 lines
Test #48:
score: 0
Accepted
time: 5ms
memory: 6408kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 194 1000000000 0 127 1000000000 0 165 1000000000 0 93 1000000000 0 103 1000000000 0 27 1000000000 0 77 1000000000 0 7 1000000000 0 15 1000000000 0 1 1000000000 0 173 1000000000 0 149 1000000000 0 86 1000000000 0 67 1000000000 0 133 1000000000 0 75 10000...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 199000000000 198000000000 197000000000 196000000000 195000000000 194000000000 193000000000 192000000000 191000000000 190000000000 189000000000 188000000000 187000000000 186000000000 185000000000 184000000000 183000000000 182000000000 181000000000 180000000...
result:
ok 3 lines
Test #49:
score: 0
Accepted
time: 1ms
memory: 6416kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 101 68 52 6 99 49 9 67 12 5 96 89 6 43 55 5 37 7 10 27 64 10 20 57 6 0 40 9 45 57 8 14 91 8 82 47 7 19 35 8 46 15 8 55 96 6 34 52 7 13 1 9 26 61 8 84 11 7 58 51 5 78 32 6 31 62 7 29 78 7 18 44 7 5 63 8 76 9 8 21 100 9 44 43 6 4 42 8 73 62 10 50 13 7 80 72 6 6...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 764 423 159 43 8 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
result:
ok 3 lines
Test #50:
score: 0
Accepted
time: 2ms
memory: 7644kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 184 117 8 129 184 1 96 99 9 154 182 9 27 186 4 53 110 8 23 0 8 195 130 10 143 140 2 196 163 4 186 89 5 2 118 2 79 47 10 164 6 6 168 114 7 59 6 10 106 99 4 60 27 5 192 125 1 38 149 2 123 26 8 116 16 9 166 34 9 51 45 10 25 7 2 14 158 6 119 190 1 92 151 9 11...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1070 534 210 66 15 4 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #51:
score: 0
Accepted
time: 1ms
memory: 6436kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 82 193 8 155 11 7 159 82 7 18 118 8 90 193 8 16 38 8 74 16 9 111 163 7 54 99 10 88 28 7 193 190 7 157 64 8 83 189 8 100 63 10 118 5 10 179 163 9 81 193 9 168 82 8 137 28 9 135 118 10 183 151 9 0 11 10 189 193 10 104 81 9 76 81 10 65 144 7 99 79 8 62 28 10...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1692 1101 802 686 598 527 458 390 328 268 217 169 123 78 35 14 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...
result:
ok 3 lines
Test #52:
score: 0
Accepted
time: 2ms
memory: 7576kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 188 0 73 7 0 161 7 0 172 10 0 88 8 0 180 9 0 81 7 0 28 8 0 92 8 0 57 7 0 66 10 0 108 8 0 156 10 0 142 8 0 65 6 0 130 6 0 166 6 0 132 7 0 43 7 0 87 7 0 171 8 0 53 5 0 151 9 0 68 5 0 37 8 0 67 9 0 99 5 0 15 5 0 148 10 0 31 7 0 46 8 0 23 5 0 162 5 0 168 6 0 136 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1376 1366 1356 1346 1336 1326 1316 1306 1296 1286 1276 1266 1256 1246 1236 1226 1216 1206 1196 1186 1176 1166 1156 1146 1136 1126 1117 1108 1099 1090 1081 1072 1063 1054 1045 1036 1027 1018 1009 1000 991 982 973 964 955 946 937 928 919 910 901 892 883 874 ...
result:
ok 3 lines
Test #53:
score: 0
Accepted
time: 1ms
memory: 8260kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 40 10 0 17 9 0 71 8 0 61 3 0 126 5 0 47 1 0 64 8 0 128 6 0 25 2 0 168 5 0 196 1 0 75 3 0 177 9 0 190 8 0 197 3 0 97 10 0 19 2 0 187 8 0 48 1 0 4 9 0 154 4 0 94 5 0 141 6 0 68 8 0 143 5 0 5 8 0 172 2 0 155 1 0 112 7 0 72 1 0 33 8 0 127 8 0 101 9 0 108 3 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1110 1100 1090 1080 1070 1060 1050 1040 1030 1020 1010 1000 990 980 970 960 950 940 930 920 911 902 893 884 875 866 857 848 839 830 821 812 803 794 785 776 767 758 749 740 731 722 714 706 698 690 682 674 666 658 650 642 634 626 618 610 602 594 586 578 570 ...
result:
ok 3 lines
Test #54:
score: 0
Accepted
time: 5ms
memory: 6512kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 1
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1 0
result:
ok 3 lines
Subtask #4:
score: 10
Accepted
Dependency #3:
100%
Accepted
Test #55:
score: 10
Accepted
time: 6ms
memory: 7868kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1225 1193 951 630380944 1129 516 585232931 908 1001 906040201 432 1219 987845169 1096 511 529643873 826 297 832641527 1028 715 785620126 138 847 903958230 241 537 526013236 1144 169 821733469 192 49 664393529 319 777 818770790 463 412 736583408 87 133 7680233...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 913245329680 500668742151 219934891920 74179879154 22415664888 5978260649 593661185 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 ...
result:
ok 3 lines
Test #56:
score: 0
Accepted
time: 0ms
memory: 6868kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 597 474 911879652 566 1278 587814661 186 258 573518405 10 1237 826731315 149 550 383608783 1336 1941 515905697 1474 1875 444647531 1871 341 60119542 1787 1744 24428624 37 170 710386978 337 526 633701061 1475 82 94007028 1022 558 373896453 1393 688 482864...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 999585836938 478292956562 162066916124 38643646473 8524548137 1627688535 364937050 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...
result:
ok 3 lines
Test #57:
score: 0
Accepted
time: 8ms
memory: 6608kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1708 1512 733 6 785 1071 4 1652 1621 6 1341 546 6 539 1002 5 798 336 3 1473 1574 6 509 238 3 927 376 4 1287 760 6 524 12 8 688 1606 6 1343 323 8 1376 68 4 298 4 8 410 664 6 1619 1222 4 932 1704 3 797 189 3 24 1584 4 906 1456 5 655 401 5 1371 1272 4 120 890 6 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 8522 5324 2619 945 264 29 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #58:
score: 0
Accepted
time: 1ms
memory: 7740kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 358 1155 23 635 271 23 1954 271 23 1745 1582 2 1214 851 2 291 1525 23 1253 271 23 84 1197 1 226 1519 22 342 1563 23 797 723 22 1793 271 23 331 1269 2 424 723 22 1899 723 22 948 940 1 1757 378 3 90 723 22 653 271 24 1672 1576 1 1056 1477 23 248 1563 22 53...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 25383 23945 22894 22140 21542 20990 20442 19895 19354 18815 18277 17739 17202 16670 16138 15606 15074 14542 14013 13485 12959 12433 11907 11381 10858 10336 9814 9293 8772 8251 7730 7209 6688 6167 5646 5125 4604 4083 3562 3041 2520 1999 1478 957 436 69 0 0 ...
result:
ok 3 lines
Test #59:
score: 0
Accepted
time: 2ms
memory: 8400kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 325 1344 671102754 628 202 759983640 802 233 737355135 451 283 666285262 1882 233 504976427 1218 1942 860876419 159 233 739738695 1366 202 561990272 349 1942 653652096 1077 1344 631761628 1685 1401 945879069 921 202 920335356 998 283 919459661 518 1942 8...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1483819744425 1476829911563 1469861463607 1462904943291 1455964208764 1449038548362 1442137733654 1435251899035 1428376752498 1421513336310 1414672068986 1407851939468 1401046107774 1394254361710 1387481201632 1380730985734 1374000287628 1367278021236 1360...
result:
ok 3 lines
Test #60:
score: 0
Accepted
time: 1ms
memory: 6872kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1997 1650 1102 1 1327 1051 1 894 219 1 1024 1437 1 1564 219 1 1982 219 1 737 1437 1 506 219 1 1453 1102 1 1926 1102 1 305 1051 1 1724 219 1 1569 219 1 1171 219 1 1770 1051 1 1139 1461 1 992 1461 1 1991 1461 1 1366 480 1 388 219 1 729 219 1 1696 1461 1 1351 14...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 3661 3325 2989 2653 2317 1981 1960 1953 1946 1939 1932 1925 1918 1911 1904 1897 1890 1884 1878 1872 1866 1860 1854 1848 1842 1836 1830 1824 1818 1812 1806 1800 1794 1788 1782 1776 1770 1764 1758 1752 1746 1740 1734 1728 1722 1716 1710 1704 1698 1692 1686 1...
result:
ok 3 lines
Test #61:
score: 0
Accepted
time: 3ms
memory: 7848kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1839 1425 334 619276318 1674 1801 788716752 285 365 228569349 1458 800 555878280 1455 1610 794926420 1153 926 857753773 356 1563 152924958 1398 904 200100372 1118 301 793681785 1204 867 850477650 907 166 504937750 1003 568 509031392 854 1712 621268610 459 991...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 917586886518 475954772544 225030827828 103214897126 45839552276 20843140910 9625513723 4193929954 1861870232 695802526 236147788 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...
result:
ok 3 lines
Test #62:
score: 0
Accepted
time: 3ms
memory: 8368kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 425 1168 919480325 1549 1660 900307149 1502 1168 945294949 424 431 997746629 1833 550 974795742 1534 1012 979567482 691 1107 904887071 1821 1172 910571848 790 1919 919048010 1386 800 966161021 1679 1887 992862916 1287 1950 984028974 1560 1887 938323665 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1899566038948 1856658376176 1813849448741 1771120977588 1728481052842 1685915925887 1643450120866 1601079265914 1558803494496 1516614475090 1474518855770 1432516247621 1390600747317 1348786174270 1307044893612 1265380747182 1223825057747 1182358078133 1140...
result:
ok 3 lines
Test #63:
score: 0
Accepted
time: 10ms
memory: 8440kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 25 780 1000000000 1929 1576 999999992 1246 1956 999999996 1898 40 999999997 1521 1494 999999997 1538 92 999999997 219 299 1000000000 372 1958 999999994 1531 1783 999999997 1259 1142 999999995 1588 799 999999992 1785 1652 999999997 906 1485 999999994 15 9...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1998999990172 1936999990188 1875999990226 1814999990300 1754999990389 1696999990483 1638999990600 1581999990731 1526999990875 1472999991017 1419999991171 1367999991342 1315999991536 1264999991737 1216999991913 1168999992115 1120999992337 1074999992545 1029...
result:
ok 3 lines
Test #64:
score: 0
Accepted
time: 11ms
memory: 6956kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 178 1046 1000000000 330 1046 1000000000 645 557 1000000000 1831 557 1000000000 1555 1046 1000000000 854 557 1000000000 1542 1046 1000000000 390 557 1000000000 1027 557 1000000000 929 1046 1000000000 1940 557 1000000000 1319 1046 1000000000 1804 557 10000...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999000000000 1984000000000 1975000000000 1966000000000 1958000000000 1950000000000 1942000000000 1934000000000 1927000000000 1920000000000 1913000000000 1906000000000 1899000000000 1892000000000 1885000000000 1878000000000 1872000000000 1866000000000 1860...
result:
ok 3 lines
Test #65:
score: 0
Accepted
time: 4ms
memory: 8800kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1732 0 1 858069575 1 2 643017934 2 3 540485959 3 4 820000496 4 5 776986350 5 6 604493611 6 7 577636752 7 8 685510561 8 9 865040992 9 10 762236552 10 11 923488407 11 12 636650815 12 13 728034498 13 14 735002870 14 15 619256548 15 16 514085722 16 17 744134689 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1299591209599 630022056918 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #66:
score: 0
Accepted
time: 8ms
memory: 8344kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 1 309682260 1 2 582822719 2 3 372695773 3 4 255854267 4 5 992051341 5 6 355887755 6 7 910109803 7 8 568867708 8 9 869299390 9 10 650032264 10 11 371463568 11 12 786674220 12 13 304201693 13 14 855741258 14 15 806288832 15 16 633487600 16 17 633235427 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1239764761863 562451883340 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #67:
score: 0
Accepted
time: 3ms
memory: 8716kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1801 0 1 1000000000 1 2 1000000000 2 3 1000000000 3 4 1000000000 4 5 1000000000 5 6 1000000000 6 7 1000000000 7 8 1000000000 8 9 1000000000 9 10 1000000000 10 11 1000000000 11 12 1000000000 12 13 1000000000 13 14 1000000000 14 15 1000000000 15 16 1000000000 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1800000000000 900000000000 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #68:
score: 0
Accepted
time: 9ms
memory: 6784kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1881 0 863 733310362 0 749 620592065 0 439 941355812 0 247 917114917 0 780 618208487 0 1089 839140158 0 306 574874450 0 1469 722372298 0 895 523918638 0 814 947179614 0 1833 626745535 0 510 909955698 0 142 647435145 0 996 801388995 0 1374 546723246 0 1078 728...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1413341451956 1412341597349 1411342001784 1410342741854 1409343657707 1408345535592 1407347701767 1406350003446 1405352621656 1404355250390 1403357882901 1402360583868 1401363285085 1400366132832 1399369805765 1398374108047 1397378956465 1396384178900 1395...
result:
ok 3 lines
Test #69:
score: 0
Accepted
time: 8ms
memory: 7980kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 559 717769868 0 237 766447943 0 122 517523402 0 1779 560381127 0 1477 566064983 0 67 303410673 0 1869 605544497 0 1769 774963386 0 457 469996896 0 201 995323973 0 1694 885366346 0 1547 362843462 0 55 947026157 0 1302 448837561 0 733 673028958 0 1139 65...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1239932930636 1238933034699 1237933274404 1236933811304 1235934429141 1234937111512 1233940392882 1232944051225 1231948294381 1230952540572 1229957216599 1228962389458 1227967672340 1226973261544 1225980503037 1224988213004 1223996200036 1223004619782 1222...
result:
ok 3 lines
Test #70:
score: 0
Accepted
time: 2ms
memory: 6596kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 0 1442 1000000000 0 1429 1000000000 0 446 1000000000 0 149 1000000000 0 1530 1000000000 0 527 1000000000 0 859 1000000000 0 297 1000000000 0 1575 1000000000 0 900 1000000000 0 1792 1000000000 0 1962 1000000000 0 1566 1000000000 0 1372 1000000000 0 1538 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999000000000 1998000000000 1997000000000 1996000000000 1995000000000 1994000000000 1993000000000 1992000000000 1991000000000 1990000000000 1989000000000 1988000000000 1987000000000 1986000000000 1985000000000 1984000000000 1983000000000 1982000000000 1981...
result:
ok 3 lines
Test #71:
score: 0
Accepted
time: 2ms
memory: 7900kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1547 161 1462 7 1285 1234 10 750 5 10 1500 1114 10 518 905 10 1434 392 6 1470 1403 10 1135 1027 6 1146 1174 6 118 1264 7 395 453 8 1424 265 5 262 895 6 52 235 8 863 737 7 993 801 8 1182 943 9 1014 628 10 345 846 9 235 764 6 1450 1267 7 204 1514 10 9 1407 8 56...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11536 6308 2649 871 251 60 5 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #72:
score: 0
Accepted
time: 2ms
memory: 6684kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 637 599 3 979 801 3 169 282 8 296 596 5 624 320 6 399 1499 6 1080 448 8 975 1001 9 348 5 9 523 978 4 411 418 7 1521 1175 5 269 1577 3 790 640 4 1429 152 10 497 260 7 720 1549 5 1528 1925 2 1255 1517 3 529 429 2 94 95 2 312 34 4 1261 1660 5 114 882 3 837 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11075 5395 1945 504 118 22 5 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #73:
score: 0
Accepted
time: 3ms
memory: 6692kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 1208 496 8 456 1123 8 1391 496 4 509 1123 9 1720 762 10 1956 1150 10 532 1117 3 1289 762 9 1222 1297 10 1058 1123 1 1365 496 3 1711 1297 9 1053 1297 3 1808 1117 1 1077 762 4 1955 1297 8 766 762 5 1151 496 7 754 1117 7 1465 1123 4 1479 1194 4 1435 762 4 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11060 10990 10920 10850 10780 10710 10640 10570 10501 10432 10363 10294 10225 10156 10087 10018 9949 9880 9811 9742 9673 9604 9535 9467 9399 9331 9263 9195 9127 9060 8993 8927 8861 8795 8730 8666 8603 8540 8477 8414 8351 8288 8226 8164 8102 8040 7978 7918 ...
result:
ok 3 lines
Test #74:
score: 0
Accepted
time: 4ms
memory: 8424kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1970 705 44 1 1378 930 1 529 256 1 799 856 1 17 139 1 870 1197 1 1820 879 1 447 1727 1 1805 1457 1 213 621 1 1340 127 1 275 1712 1 633 413 1 1129 173 1 1564 1439 1 963 978 1 1252 1365 1 53 1004 1 1729 676 1 1946 54 1 1737 1019 1 875 373 1 1150 299 1 1894 571 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1969 1116 489 161 39 7 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #75:
score: 0
Accepted
time: 4ms
memory: 8244kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 156 1436 1 448 662 1 1537 1326 1 1946 107 1 1893 266 1 1189 1051 1 803 1437 1 499 804 1 1575 1421 1 1859 456 1 1111 624 1 264 1367 1 767 1556 1 701 1298 1 181 29 1 428 917 1 1809 603 1 432 1346 1 1739 1579 1 223 26 1 601 1854 1 965 1800 1 1234 812 1 154 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1145 513 165 39 6 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #76:
score: 0
Accepted
time: 3ms
memory: 7956kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 263 1287 1 1061 1548 1 1017 250 1 1751 428 1 684 215 1 1745 695 1 1565 428 1 516 484 1 769 888 1 314 428 1 1631 1279 1 1322 1754 1 1581 360 1 35 607 1 1614 607 1 1619 695 1 1182 371 1 1104 1548 1 1392 1102 1 1755 888 1 1229 508 1 65 428 1 1100 1515 1 323...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1937 1876 1816 1757 1699 1641 1585 1529 1474 1421 1368 1317 1266 1217 1169 1122 1075 1029 984 941 899 858 817 777 737 700 664 628 594 561 528 496 465 435 406 378 351 324 300 276 253 231 210 189 169 150 134 118 104 90 77 65 54 44 35 28 21 15 10 6 3 1 0...
result:
ok 3 lines
Test #77:
score: 0
Accepted
time: 7ms
memory: 8016kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 376 786 1 495 186 1 21 786 1 1299 1142 1 531 786 1 1893 1142 1 1727 186 1 945 786 1 1836 786 1 752 1142 1 935 786 1 441 186 1 219 786 1 1522 786 1 1520 786 1 1965 786 1 141 930 1 29 786 1 408 186 1 1794 786 1 1783 1142 1 739 786 1 1680 786 1 797 786 1 10...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1984 1975 1966 1958 1950 1942 1934 1927 1920 1913 1906 1899 1892 1885 1878 1872 1866 1860 1854 1848 1842 1836 1830 1824 1818 1812 1806 1800 1794 1788 1782 1777 1772 1767 1762 1757 1752 1747 1742 1737 1732 1727 1722 1717 1712 1707 1702 1697 1692 1687 1...
result:
ok 3 lines
Test #78:
score: 0
Accepted
time: 2ms
memory: 8548kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 749 1452 1 1268 1030 1 1942 1208 1 1947 1800 1 173 249 1 1616 1345 1 110 1800 1 1085 1345 1 618 606 1 450 1496 1 1467 616 1 895 370 1 1678 405 1 299 1187 1 853 1544 1 307 447 1 1818 1345 1 1954 784 1 983 1208 1 243 1091 1 420 1104 1 702 884 1 190 370 1 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1956 1913 1870 1827 1784 1741 1698 1655 1612 1569 1526 1483 1440 1397 1354 1311 1268 1225 1182 1139 1096 1053 1010 967 924 881 838 795 752 709 666 623 580 537 494 451 408 365 322 280 239 199 160 126 95 67 42 22 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Subtask #5:
score: 17
Accepted
Test #79:
score: 17
Accepted
time: 74ms
memory: 16952kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 96680 81008 32770 1 53103 75975 1 38090 49649 1 35805 25778 1 50058 68261 1 52213 58881 1 52672 34310 1 1080 42408 1 32306 82599 1 73623 7340 1 87691 42161 1 78365 96557 1 78654 88488 1 5875 25925 1 23217 85743 1 18698 42579 1 90401 84720 1 45973 91271 1 5282...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 96679 54857 24550 8415 2125 380 60 8 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 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #80:
score: 0
Accepted
time: 82ms
memory: 16420kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 95008 45264 20884 1 23664 27456 1 19500 25905 1 4911 87375 1 86726 42081 1 34194 74739 1 92651 27366 1 45739 50616 1 15038 22283 1 27065 61778 1 82179 48812 1 60574 25035 1 7043 78447 1 24344 80155 1 27509 92773 1 56370 85410 1 25872 79120 1 86296 1748 1 863 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 95007 53962 24259 8402 2194 440 73 13 2 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 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #81:
score: 0
Accepted
time: 101ms
memory: 17544kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 49626 15680 1 81685 67433 1 19636 35902 1 326 341 1 34689 22897 1 76725 84158 1 53222 9895 1 95151 2153 1 53807 10186 1 13973 9244 1 14452 29195 1 5441 98835 1 58577 76704 1 80709 61443 1 41848 55408 1 10783 19077 1 91751 83245 1 70668 74213 1 69160 40...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 99685 99371 99057 98743 98429 98115 97801 97487 97173 96859 96545 96231 95917 95603 95289 94975 94661 94347 94033 93719 93405 93091 92777 92463 92149 91835 91521 91207 90893 90579 90265 89951 89637 89323 89009 88695 88381 88067 87753 87439 87125 8681...
result:
ok 3 lines
Test #82:
score: 0
Accepted
time: 80ms
memory: 16980kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 29306 89956 1 81035 16755 1 4336 83825 1 22080 92183 1 43396 43559 1 64382 12255 1 35517 99733 1 84593 1714 1 54828 8090 1 87694 99870 1 44925 82185 1 49654 64098 1 89900 40487 1 11612 86644 1 11070 14077 1 56658 27943 1 95942 37757 1 99891 41300 1 477...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 56682 25263 8592 2124 403 55 8 2 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 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #83:
score: 0
Accepted
time: 110ms
memory: 17488kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 80730 15417 1 96756 19296 1 75887 76175 1 39475 53081 1 51938 23978 1 55119 77891 1 45564 9253 1 46595 84577 1 82243 43565 1 49558 43565 1 82762 37373 1 79070 12460 1 70667 78730 1 94878 31820 1 72089 82589 1 61024 87798 1 28443 56427 1 8276 40694 1 98...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 99681 99364 99047 98730 98413 98096 97779 97462 97145 96828 96511 96194 95877 95560 95243 94926 94609 94292 93975 93658 93341 93024 92707 92390 92073 91756 91439 91122 90805 90488 90171 89854 89537 89220 88903 88586 88269 87952 87635 87318 87001 8668...
result:
ok 3 lines
Test #84:
score: 0
Accepted
time: 101ms
memory: 18916kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 66876 95276 1 8502 79005 1 33222 17218 1 79485 24459 1 39066 32966 1 74480 86123 1 67044 24959 1 15387 217 1 90340 48174 1 67337 95276 1 87438 48174 1 67765 90797 1 38177 95276 1 46992 87445 1 33096 68381 1 82748 95713 1 88185 96199 1 54533 5185 1 4789...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 99948 99897 99846 99795 99744 99693 99642 99591 99540 99489 99438 99387 99336 99285 99234 99183 99132 99081 99030 98979 98928 98877 98826 98775 98724 98673 98622 98571 98520 98469 98418 98367 98316 98265 98214 98163 98112 98061 98010 97959 97908 9785...
result:
ok 3 lines
Test #85:
score: 0
Accepted
time: 103ms
memory: 17568kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 78041 94682 1 34294 83691 1 35842 10091 1 17985 12500 1 15532 98777 1 58584 94115 1 9234 23157 1 51230 60408 1 24351 40031 1 42910 69644 1 47719 25971 1 93936 11494 1 74799 29585 1 51996 20227 1 21884 18316 1 20793 14030 1 79039 37710 1 9071 95973 1 75...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 68663 54253 50382 49552 49307 49143 48983 48824 48665 48506 48347 48188 48029 47870 47711 47552 47393 47234 47075 46916 46757 46598 46439 46280 46121 45962 45803 45644 45485 45326 45167 45008 44849 44690 44531 44372 44213 44054 43895 43736 43577 4341...
result:
ok 3 lines
Test #86:
score: 0
Accepted
time: 91ms
memory: 18476kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 92301 21881 77302 1 15989 77302 1 4252 77302 1 66487 77302 1 54316 77302 1 21621 77302 1 57652 77302 1 11625 77302 1 38721 77302 1 65171 77302 1 78079 77302 1 6722 77302 1 45591 77302 1 34141 77302 1 87729 77302 1 14985 77302 1 59317 77302 1 22834 77302 1 125...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 92300 92299 92298 92297 92296 92295 92294 92293 92292 92291 92290 92289 92288 92287 92286 92285 92284 92283 92282 92281 92280 92279 92278 92277 92276 92275 92274 92273 92272 92271 92270 92269 92268 92267 92266 92265 92264 92263 92262 92261 92260 92259 9225...
result:
ok 3 lines
Test #87:
score: 0
Accepted
time: 87ms
memory: 26452kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 90468 54586 62090 1 5059 37992 1 53859 81852 1 88625 76918 1 67126 49952 1 13661 33275 1 12713 75087 1 63818 53901 1 27939 77360 1 47333 74138 1 32699 6883 1 40536 69057 1 13135 79037 1 19532 7093 1 70062 46339 1 1289 1269 1 62811 61331 1 90260 43870 1 44022 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 90467 45233 22616 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Test #88:
score: 0
Accepted
time: 89ms
memory: 16736kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 97360 47871 41962 1 93439 69724 1 94702 70022 1 13515 33864 1 45620 11923 1 20188 49481 1 33798 28172 1 22388 88925 1 76525 55838 1 85261 44459 1 34823 5072 1 71383 52171 1 34165 63851 1 63470 45434 1 63606 62490 1 38516 24494 1 86908 48686 1 36087 51038 1 55...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 97359 58067 31840 17004 9002 4753 2500 1312 674 350 182 89 46 21 11 6 4 2 1 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 ...
result:
ok 3 lines
Test #89:
score: 0
Accepted
time: 121ms
memory: 17720kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 58149 31603 1 76832 90717 1 40468 86061 1 32173 77382 1 47153 87413 1 72148 98288 1 33917 55710 1 26269 80302 1 41875 42665 1 4740 22284 1 72739 72944 1 46582 32643 1 72992 64807 1 127 14900 1 1037 35767 1 90061 52670 1 17297 50746 1 87282 37661 1 1840...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 99553 99108 98663 98219 97777 97337 96897 96458 96021 95585 95150 94716 94282 93850 93418 92987 92556 92127 91698 91270 90844 90419 89996 89574 89153 88732 88311 87891 87473 87056 86639 86224 85810 85397 84984 84573 84162 83752 83343 82935 82529 8212...
result:
ok 3 lines
Test #90:
score: 0
Accepted
time: 103ms
memory: 19160kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 79729 66089 1 93638 51207 1 73465 51207 1 92894 51207 1 5088 56927 1 58872 90401 1 48431 56927 1 95330 90401 1 93234 51207 1 36664 51207 1 38974 90401 1 14812 63338 1 27200 66089 1 16192 87335 1 5092 90401 1 98138 51207 1 52240 63338 1 3470 56927 1 956...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999 99978 99963 99948 99934 99920 99906 99893 99880 99867 99854 99841 99828 99816 99804 99792 99780 99768 99756 99744 99732 99720 99708 99696 99684 99673 99662 99651 99640 99629 99618 99607 99596 99585 99574 99563 99552 99541 99530 99519 99508 99497 9948...
result:
ok 3 lines
Test #91:
score: 0
Accepted
time: 2ms
memory: 7684kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 1
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1 0
result:
ok 3 lines
Test #92:
score: 0
Accepted
time: 6ms
memory: 8052kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1970 705 44 1 1378 930 1 529 256 1 799 856 1 17 139 1 870 1197 1 1820 879 1 447 1727 1 1805 1457 1 213 621 1 1340 127 1 275 1712 1 633 413 1 1129 173 1 1564 1439 1 963 978 1 1252 1365 1 53 1004 1 1729 676 1 1946 54 1 1737 1019 1 875 373 1 1150 299 1 1894 571 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1969 1116 489 161 39 7 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #93:
score: 0
Accepted
time: 0ms
memory: 7740kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 156 1436 1 448 662 1 1537 1326 1 1946 107 1 1893 266 1 1189 1051 1 803 1437 1 499 804 1 1575 1421 1 1859 456 1 1111 624 1 264 1367 1 767 1556 1 701 1298 1 181 29 1 428 917 1 1809 603 1 432 1346 1 1739 1579 1 223 26 1 601 1854 1 965 1800 1 1234 812 1 154 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1145 513 165 39 6 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #94:
score: 0
Accepted
time: 5ms
memory: 7820kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 263 1287 1 1061 1548 1 1017 250 1 1751 428 1 684 215 1 1745 695 1 1565 428 1 516 484 1 769 888 1 314 428 1 1631 1279 1 1322 1754 1 1581 360 1 35 607 1 1614 607 1 1619 695 1 1182 371 1 1104 1548 1 1392 1102 1 1755 888 1 1229 508 1 65 428 1 1100 1515 1 323...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1937 1876 1816 1757 1699 1641 1585 1529 1474 1421 1368 1317 1266 1217 1169 1122 1075 1029 984 941 899 858 817 777 737 700 664 628 594 561 528 496 465 435 406 378 351 324 300 276 253 231 210 189 169 150 134 118 104 90 77 65 54 44 35 28 21 15 10 6 3 1 0...
result:
ok 3 lines
Test #95:
score: 0
Accepted
time: 3ms
memory: 7876kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 376 786 1 495 186 1 21 786 1 1299 1142 1 531 786 1 1893 1142 1 1727 186 1 945 786 1 1836 786 1 752 1142 1 935 786 1 441 186 1 219 786 1 1522 786 1 1520 786 1 1965 786 1 141 930 1 29 786 1 408 186 1 1794 786 1 1783 1142 1 739 786 1 1680 786 1 797 786 1 10...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1984 1975 1966 1958 1950 1942 1934 1927 1920 1913 1906 1899 1892 1885 1878 1872 1866 1860 1854 1848 1842 1836 1830 1824 1818 1812 1806 1800 1794 1788 1782 1777 1772 1767 1762 1757 1752 1747 1742 1737 1732 1727 1722 1717 1712 1707 1702 1697 1692 1687 1...
result:
ok 3 lines
Test #96:
score: 0
Accepted
time: 3ms
memory: 7828kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 749 1452 1 1268 1030 1 1942 1208 1 1947 1800 1 173 249 1 1616 1345 1 110 1800 1 1085 1345 1 618 606 1 450 1496 1 1467 616 1 895 370 1 1678 405 1 299 1187 1 853 1544 1 307 447 1 1818 1345 1 1954 784 1 983 1208 1 243 1091 1 420 1104 1 702 884 1 190 370 1 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1999 1956 1913 1870 1827 1784 1741 1698 1655 1612 1569 1526 1483 1440 1397 1354 1311 1268 1225 1182 1139 1096 1053 1010 967 924 881 838 795 752 709 666 623 580 537 494 451 408 365 322 280 239 199 160 126 95 67 42 22 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 3 lines
Subtask #6:
score: 25
Accepted
Dependency #5:
100%
Accepted
Test #97:
score: 25
Accepted
time: 7ms
memory: 8300kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2 0 1 4
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 4 0
result:
ok 3 lines
Test #98:
score: 0
Accepted
time: 0ms
memory: 7920kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 5 0 1 1 0 2 4 0 3 3 2 4 2
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 10 5 1 0 0
result:
ok 3 lines
Test #99:
score: 0
Accepted
time: 3ms
memory: 7524kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 4 0 1 5 2 0 10 0 3 5
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 20 10 5 0
result:
ok 3 lines
Test #100:
score: 0
Accepted
time: 71ms
memory: 15768kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 85716 72731 27528 10 23426 56256 8 14478 39078 5 77782 43344 10 50590 19654 7 85538 24341 9 63013 63621 9 4990 23209 9 57294 44424 5 49037 49739 6 9505 85112 5 33969 83787 10 83605 10585 7 43184 27671 8 56717 62777 9 70905 13278 5 9492 82196 6 73757 5422 10 2...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 643411 346726 144105 45782 10782 1959 324 45 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 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #101:
score: 0
Accepted
time: 65ms
memory: 14524kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 77528 7536 9295 4 55364 21552 1 61059 72816 1 62844 70208 9 26084 31375 2 70130 18530 10 8472 58279 6 5348 18113 10 40228 18387 6 39608 58916 7 54848 29321 9 56834 53732 8 70895 32096 2 47108 67067 6 49773 12836 3 61148 32384 5 20084 40495 2 51114 56079 4 170...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 426979 208774 76379 21005 4452 778 145 36 12 4 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 0 0 0 0 0 0...
result:
ok 3 lines
Test #102:
score: 0
Accepted
time: 95ms
memory: 17444kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 85106 96940 10 16018 71776 9 15790 80859 10 86302 40379 4 91233 59412 1 58120 98642 9 81978 31362 1 16564 99265 5 47663 36314 7 69985 11742 7 3445 64108 4 24994 94082 7 45923 68867 1 45181 78201 10 69375 84215 5 96614 26088 10 2404 6591 9 86312 95882 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 550791 269748 98214 26649 5424 885 113 9 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 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #103:
score: 0
Accepted
time: 132ms
memory: 17596kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 84692 28248 9 37715 3379 4 55214 72311 10 47538 20063 1 24680 58208 2 54064 1366 7 6604 1613 5 79302 73123 5 25334 65706 5 32216 78096 5 65244 3815 6 19173 80435 5 54860 29036 3 80083 1613 3 23800 75061 3 73857 93598 5 31622 18903 4 98869 1655 9 48467 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 549752 546602 543452 540302 537152 534003 530854 527705 524557 521410 518263 515116 511970 508824 505680 502536 499392 496248 493104 489961 486819 483678 480538 477406 474282 471167 468066 464976 461901 458841 455804 452788 449790 446809 443855 440924 4380...
result:
ok 3 lines
Test #104:
score: 0
Accepted
time: 114ms
memory: 17824kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 92106 63631 49059 9 89083 16309 9 35263 65615 5 4961 50521 5 42656 8082 8 27817 61785 6 54187 32441 10 67701 84992 10 78608 55720 7 47898 61787 7 15717 30576 5 89591 73317 8 60339 81724 10 76877 29938 9 22255 84307 8 63712 11250 5 7172 68351 7 70417 45732 6 9...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 690452 687522 684592 681662 678732 675802 672872 669943 667014 664085 661156 658227 655298 652370 649442 646514 643586 640659 637732 634805 631878 628953 626028 623103 620178 617258 614339 611420 608501 605582 602663 599744 596825 593906 590988 588070 5851...
result:
ok 3 lines
Test #105:
score: 0
Accepted
time: 124ms
memory: 18228kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 96209 60296 12423 2 8578 44420 10 42634 44420 10 32372 17619 8 52513 12423 9 63417 58096 4 9395 78733 5 3609 44420 8 6062 83826 9 16976 24559 7 87336 17254 4 9141 26821 7 13664 44420 7 70455 17203 10 50880 44420 2 90618 95433 4 63951 22133 4 63247 10680 9 495...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 529490 529000 528510 528020 527530 527040 526550 526060 525570 525080 524590 524100 523610 523120 522630 522140 521650 521160 520670 520180 519690 519200 518710 518220 517731 517242 516753 516264 515775 515286 514797 514308 513819 513330 512841 512352 5118...
result:
ok 3 lines
Test #106:
score: 0
Accepted
time: 142ms
memory: 18644kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 98644 81344 91135 10 97339 92795 4 244 86538 1 90618 92795 4 19189 39768 10 5165 39768 6 61723 39768 10 29525 91135 3 15392 91135 2 88424 16095 10 33128 56942 2 13102 91135 10 17107 40455 10 87713 91135 1 9275 56942 7 13853 56942 7 21445 91135 9 96718 86538 2...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 541794 541704 541614 541524 541434 541344 541254 541164 541074 540984 540894 540804 540714 540624 540534 540444 540354 540264 540174 540084 539994 539904 539814 539724 539634 539544 539454 539364 539274 539184 539094 539004 538914 538824 538734 538644 5385...
result:
ok 3 lines
Test #107:
score: 0
Accepted
time: 94ms
memory: 16080kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 91766 84134 17782 2 49762 74239 2 73948 84989 3 37092 21907 3 60770 60262 1 6794 75407 2 81578 48601 1 76315 82894 3 39689 47555 1 39912 8484 2 77014 78863 1 55888 51547 1 29475 91009 3 11219 49677 2 52074 27017 3 39897 43060 3 82122 90693 3 17288 44024 3 154...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 184137 99929 49924 24581 12079 5879 2868 1413 676 326 141 63 28 12 6 2 1 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...
result:
ok 3 lines
Test #108:
score: 0
Accepted
time: 121ms
memory: 20216kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 94425 60822 67594 8 13525 67594 1 72351 67594 4 75028 67594 5 57688 67594 5 90026 67594 3 93494 67594 9 10969 67594 5 49682 67594 5 25874 67594 9 76010 67594 10 67268 67594 6 41596 67594 3 30190 67594 10 13933 67594 9 54284 67594 6 83160 67594 10 80432 67594 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 517638 517628 517618 517608 517598 517588 517578 517568 517558 517548 517538 517528 517518 517508 517498 517488 517478 517468 517458 517448 517438 517428 517418 517408 517398 517388 517378 517368 517358 517348 517338 517328 517318 517308 517298 517288 5172...
result:
ok 3 lines
Test #109:
score: 0
Accepted
time: 116ms
memory: 17872kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 42829 88454 6 65685 74301 3 42760 97491 10 34596 22687 5 46127 94166 2 12350 98448 3 97719 72524 1 60248 70250 8 1537 84870 6 17483 2109 9 17381 84870 5 36930 15639 7 34078 47125 5 4638 40360 7 14003 53337 7 50098 60838 9 28440 58470 5 96027 22426 5 79...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 552011 356397 287887 273796 270532 268720 267097 265503 263911 262321 260731 259141 257551 255961 254371 252781 251191 249602 248015 246428 244841 243255 241670 240086 238507 236930 235358 233791 232231 230684 229147 227622 226107 224607 223116 221634 2201...
result:
ok 3 lines
Test #110:
score: 0
Accepted
time: 95ms
memory: 26432kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 98781 40773 91288 8 68759 82757 9 44353 77907 10 47098 63783 9 49155 39306 8 1894 21969 10 36529 69953 10 17863 81666 7 51499 32644 9 43733 4831 7 91831 17202 10 19949 53784 8 14596 41302 8 73594 39246 9 48632 3144 10 12912 27096 8 78507 57131 9 53146 87582 8...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 839703 419882 206405 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #111:
score: 0
Accepted
time: 128ms
memory: 17532kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 99996 33155 26427 7 19014 9694 9 76526 78544 6 21913 84105 9 56037 66128 9 80417 54721 10 93927 4085 9 55784 39141 9 33533 34796 5 14298 84369 7 25320 99048 10 79541 47591 7 28811 79414 3 37703 63929 6 13684 49227 9 93541 2679 9 44872 45843 1 47138 40158 8 36...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 548576 544128 539717 535337 530987 526668 522380 518121 513888 509692 505522 501379 497269 493193 489141 485112 481118 477140 473186 469267 465374 461514 457688 453900 450138 446395 442686 439006 435351 431726 428137 424583 421048 417552 414080 410631 4072...
result:
ok 3 lines
Test #112:
score: 0
Accepted
time: 139ms
memory: 19188kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 99995 58384 11578 9 28506 45160 10 21940 98348 10 70882 59507 3 66005 98348 6 93560 34142 8 59558 59507 8 11668 98348 7 67094 98348 10 49309 98348 1 60669 34142 3 75358 59507 9 65889 74841 1 17527 59507 5 10702 98348 3 88648 11578 9 99301 59507 7 29233 98348 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 550502 550316 550176 550036 549902 549770 549642 549520 549401 549286 549171 549057 548944 548833 548722 548611 548501 548394 548287 548181 548075 547971 547867 547764 547661 547560 547459 547360 547261 547162 547063 546964 546866 546769 546672 546575 5464...
result:
ok 3 lines
Test #113:
score: 0
Accepted
time: 4ms
memory: 6664kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 1547 161 1462 7 1285 1234 10 750 5 10 1500 1114 10 518 905 10 1434 392 6 1470 1403 10 1135 1027 6 1146 1174 6 118 1264 7 395 453 8 1424 265 5 262 895 6 52 235 8 863 737 7 993 801 8 1182 943 9 1014 628 10 345 846 9 235 764 6 1450 1267 7 204 1514 10 9 1407 8 56...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11536 6308 2649 871 251 60 5 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #114:
score: 0
Accepted
time: 5ms
memory: 6904kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 637 599 3 979 801 3 169 282 8 296 596 5 624 320 6 399 1499 6 1080 448 8 975 1001 9 348 5 9 523 978 4 411 418 7 1521 1175 5 269 1577 3 790 640 4 1429 152 10 497 260 7 720 1549 5 1528 1925 2 1255 1517 3 529 429 2 94 95 2 312 34 4 1261 1660 5 114 882 3 837 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11075 5395 1945 504 118 22 5 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #115:
score: 0
Accepted
time: 8ms
memory: 7888kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 2000 1208 496 8 456 1123 8 1391 496 4 509 1123 9 1720 762 10 1956 1150 10 532 1117 3 1289 762 9 1222 1297 10 1058 1123 1 1365 496 3 1711 1297 9 1053 1297 3 1808 1117 1 1077 762 4 1955 1297 8 766 762 5 1151 496 7 754 1117 7 1465 1123 4 1479 1194 4 1435 762 4 1...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 11060 10990 10920 10850 10780 10710 10640 10570 10501 10432 10363 10294 10225 10156 10087 10018 9949 9880 9811 9742 9673 9604 9535 9467 9399 9331 9263 9195 9127 9060 8993 8927 8861 8795 8730 8666 8603 8540 8477 8414 8351 8288 8226 8164 8102 8040 7978 7918 ...
result:
ok 3 lines
Test #116:
score: 0
Accepted
time: 5ms
memory: 6784kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 101 68 52 6 99 49 9 67 12 5 96 89 6 43 55 5 37 7 10 27 64 10 20 57 6 0 40 9 45 57 8 14 91 8 82 47 7 19 35 8 46 15 8 55 96 6 34 52 7 13 1 9 26 61 8 84 11 7 58 51 5 78 32 6 31 62 7 29 78 7 18 44 7 5 63 8 76 9 8 21 100 9 44 43 6 4 42 8 73 62 10 50 13 7 80 72 6 6...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 764 423 159 43 8 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
result:
ok 3 lines
Test #117:
score: 0
Accepted
time: 2ms
memory: 7944kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 184 117 8 129 184 1 96 99 9 154 182 9 27 186 4 53 110 8 23 0 8 195 130 10 143 140 2 196 163 4 186 89 5 2 118 2 79 47 10 164 6 6 168 114 7 59 6 10 106 99 4 60 27 5 192 125 1 38 149 2 123 26 8 116 16 9 166 34 9 51 45 10 25 7 2 14 158 6 119 190 1 92 151 9 11...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1070 534 210 66 15 4 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #118:
score: 0
Accepted
time: 2ms
memory: 7676kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 82 193 8 155 11 7 159 82 7 18 118 8 90 193 8 16 38 8 74 16 9 111 163 7 54 99 10 88 28 7 193 190 7 157 64 8 83 189 8 100 63 10 118 5 10 179 163 9 81 193 9 168 82 8 137 28 9 135 118 10 183 151 9 0 11 10 189 193 10 104 81 9 76 81 10 65 144 7 99 79 8 62 28 10...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1692 1101 802 686 598 527 458 390 328 268 217 169 123 78 35 14 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...
result:
ok 3 lines
Test #119:
score: 0
Accepted
time: 9ms
memory: 8436kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 188 0 73 7 0 161 7 0 172 10 0 88 8 0 180 9 0 81 7 0 28 8 0 92 8 0 57 7 0 66 10 0 108 8 0 156 10 0 142 8 0 65 6 0 130 6 0 166 6 0 132 7 0 43 7 0 87 7 0 171 8 0 53 5 0 151 9 0 68 5 0 37 8 0 67 9 0 99 5 0 15 5 0 148 10 0 31 7 0 46 8 0 23 5 0 162 5 0 168 6 0 136 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1376 1366 1356 1346 1336 1326 1316 1306 1296 1286 1276 1266 1256 1246 1236 1226 1216 1206 1196 1186 1176 1166 1156 1146 1136 1126 1117 1108 1099 1090 1081 1072 1063 1054 1045 1036 1027 1018 1009 1000 991 982 973 964 955 946 937 928 919 910 901 892 883 874 ...
result:
ok 3 lines
Test #120:
score: 0
Accepted
time: 1ms
memory: 7572kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 200 0 40 10 0 17 9 0 71 8 0 61 3 0 126 5 0 47 1 0 64 8 0 128 6 0 25 2 0 168 5 0 196 1 0 75 3 0 177 9 0 190 8 0 197 3 0 97 10 0 19 2 0 187 8 0 48 1 0 4 9 0 154 4 0 94 5 0 141 6 0 68 8 0 143 5 0 5 8 0 172 2 0 155 1 0 112 7 0 72 1 0 33 8 0 127 8 0 101 9 0 108 3 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 1110 1100 1090 1080 1070 1060 1050 1040 1030 1020 1010 1000 990 980 970 960 950 940 930 920 911 902 893 884 875 866 857 848 839 830 821 812 803 794 785 776 767 758 749 740 731 722 714 706 698 690 682 674 666 658 650 642 634 626 618 610 602 594 586 578 570 ...
result:
ok 3 lines
Subtask #7:
score: 22
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Dependency #5:
100%
Accepted
Dependency #6:
100%
Accepted
Test #121:
score: 22
Accepted
time: 110ms
memory: 16976kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 98769 87604 59683 656762698 97210 413 754988210 79650 998 851964176 62846 27800 867622071 85676 277 539813424 22309 8557 880264156 35759 13816 818162479 71240 74156 644348298 41492 86248 979967896 34379 98236 742084327 1546 54222 532332138 15988 14439 5463339...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 74101249098091 40253097708312 16904798811010 5377463448417 1302568315576 250903114051 38378817231 2983613698 674211595 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...
result:
ok 3 lines
Test #122:
score: 0
Accepted
time: 94ms
memory: 15008kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 77128 74875 74244 677387721 39771 15568 293601016 24928 55999 278578353 4524 24909 122238908 60669 13404 637142664 60574 70816 4181624 18130 58209 456316988 21953 10424 420757349 50709 76384 822316547 21151 23633 467180693 73226 58609 5365099 17332 64061 2124...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 38461425620512 18298940745098 6392743856681 1659507047652 330417174790 54654656352 7928081558 1202628799 75570977 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 ...
result:
ok 3 lines
Test #123:
score: 0
Accepted
time: 102ms
memory: 17640kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 35036 92306 1 77036 95534 6 24894 28678 5 1529 29342 6 28289 86368 5 32812 46339 1 34263 37225 1 30591 10701 3 98658 51655 1 98303 5582 1 67733 58032 2 26387 9443 1 78520 38678 1 61835 92221 1 40400 24187 1 75515 29233 1 61431 19962 2 80546 78961 1 861...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 334953 295505 264245 249175 239915 234369 230363 227561 225067 222575 220385 218197 216309 214422 212535 210649 208763 206877 204992 203107 201225 199345 197467 195599 193742 191897 190070 188265 186477 184710 182969 181250 179552 177874 176215 174572 1729...
result:
ok 3 lines
Test #124:
score: 0
Accepted
time: 150ms
memory: 18588kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 93817 8272 34049 408670191 88722 37803 769470498 10538 12510 575570010 69820 71495 325940762 14184 71147 125432369 34585 81830 74691468 73020 86497 267493278 19734 52830 485547226 9188 19064 624607084 77966 51020 594925295 42393 39736 519438723 66108 58845 91...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 46839114104723 46542194303355 46246366718774 45951605722358 45657836709248 45365121878903 45073395413810 44782572557688 44492647811767 44203590570905 43915532468928 43628504298868 43342388779578 43057310800540 42773189103265 42489982452243 42207755706042 4...
result:
ok 3 lines
Test #125:
score: 0
Accepted
time: 88ms
memory: 17512kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 12528 3328 1000000000 79240 64537 1000000000 67680 82939 1000000000 66449 99795 1000000000 90110 12904 1000000000 72294 75428 1000000000 73206 82939 1000000000 65592 14230 1000000000 37553 14195 1000000000 86658 3693 1000000000 54195 49769 1000000000 7...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999000000000 99678000000000 99358000000000 99038000000000 98718000000000 98398000000000 98078000000000 97758000000000 97438000000000 97118000000000 96798000000000 96478000000000 96158000000000 95838000000000 95518000000000 95198000000000 94878000000000 9...
result:
ok 3 lines
Test #126:
score: 0
Accepted
time: 96ms
memory: 18596kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 11717 26365 517 62001 52730 517 24402 25922 517 25690 91423 517 66448 185 517 96779 86527 517 19705 86086 90 76777 58554 517 23542 29775 517 38527 35333 517 81078 12942 517 40307 19415 517 36646 72176 517 48638 17607 517 71747 11610 517 72141 66378 517...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 51761390 51661002 51560614 51460226 51359838 51259450 51159062 51058674 50958286 50857898 50757510 50657122 50556734 50456346 50355958 50255570 50155182 50054794 49954406 49854018 49753630 49653242 49552854 49452466 49352078 49251690 49151302 49050914 4895...
result:
ok 3 lines
Test #127:
score: 0
Accepted
time: 124ms
memory: 17972kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 74958 28991 158 68527 37788 1 23817 57443 159 196 66760 1 67247 80330 1 45060 67333 159 40583 71508 2 32694 96891 3 64594 34513 1 50749 57087 2 5763 71655 159 73845 58472 159 73425 53695 1 43666 8980 160 37631 71054 2 88284 67453 1 20605 46663 159 7880...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 8058273 7986555 7934848 7901371 7874149 7848396 7822929 7797521 7772125 7746738 7721365 7696002 7670656 7645317 7619987 7594662 7569340 7544021 7518703 7493385 7468067 7442749 7417431 7392113 7366795 7341477 7316159 7290841 7265523 7240205 7214887 7189569 ...
result:
ok 3 lines
Test #128:
score: 0
Accepted
time: 166ms
memory: 18532kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 93763 7164 59616 617221722 60239 59616 576192704 20477 20535 976819672 91052 68082 762807012 26312 41320 724029069 26001 5489 768462533 92404 57570 521011768 63249 5489 638963055 50374 76215 951118471 6053 60409 977254398 49663 57194 979342625 57254 28625 711...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 70373115160076 70330124061122 70287144473495 70244175018562 70201214860699 70158263993781 70115322871580 70072391873415 70029471494627 69986559821901 69943657549285 69900764907424 69857881651152 69815009005647 69772145200823 69729289174712 69686441322932 6...
result:
ok 3 lines
Test #129:
score: 0
Accepted
time: 153ms
memory: 18196kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 96102 55770 57316 645824913 16076 67109 567278638 94533 67109 595126464 41322 23407 995240684 7956 33115 766606717 78748 30600 822791883 30751 53224 726155596 61888 33115 970655549 34045 23407 803249075 48657 23407 828968276 37368 38264 869604079 5946 30600 6...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 72119984321173 72106992568702 72094009147751 72081029937018 72068058186002 72055103395282 72042154004049 72029209725006 72016269765950 72003330611633 71990403778684 71977485278437 71964568157068 71951662314027 71938759401900 71925861110607 71912966534930 7...
result:
ok 3 lines
Test #130:
score: 0
Accepted
time: 161ms
memory: 17908kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 92097 75327 21930 848201042 51121 11770 616651873 64618 28172 678375570 54993 11770 794929547 28427 28172 572875658 8857 11770 877002514 34024 74513 688928791 7647 28172 850372436 60975 27337 947685517 80477 25115 647257847 67918 72394 747631287 40 23714 8187...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 69126475421202 69118475717684 69110476373990 69102477447583 69094478797528 69086480485754 69078482634296 69070485152112 69062487983307 69054491158572 69046494738738 69038498615859 69030502852390 69022507347344 69014512286118 69006517432365 68998522891265 6...
result:
ok 3 lines
Test #131:
score: 0
Accepted
time: 181ms
memory: 21228kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 98892 28201 72711 710881367 5097 72711 620381682 65377 72711 569806842 96361 72711 867577722 936 72711 559859903 70609 72711 907176028 34483 72711 954390712 63857 72711 997841758 17724 72711 645203669 31474 72711 558552466 59643 72711 635799733 68168 72711 78...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 74135672019993 74134672020548 74133672021270 74132672048343 74131672080515 74130672113363 74129672147333 74128672181722 74127672216623 74126672252031 74125672288733 74124672326991 74123672376039 74122672425821 74121672491146 74120672558316 74119672627777 7...
result:
ok 3 lines
Test #132:
score: 0
Accepted
time: 84ms
memory: 16500kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 95380 39659 73460 2 27011 5743 2 66049 16771 3 12839 22723 2 34737 23696 2 25975 57791 2 72178 44898 2 83075 66301 2 20896 2001 2 74044 36009 1 42060 11933 4 94059 55149 2 49397 51626 2 26435 29329 2 20145 8178 3 37167 62805 3 87062 9682 2 33436 79295 3 9927 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 214589 135044 68067 24755 7212 1604 332 50 5 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 0 0 0 0 0 0 0...
result:
ok 3 lines
Test #133:
score: 0
Accepted
time: 85ms
memory: 16424kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 92758 36989 59590 999999999 45236 66535 999999999 72311 51980 999999998 49320 7261 999999998 29129 37166 999999999 4216 56026 1000000000 82341 60561 1000000000 57963 36087 1000000000 13860 29198 999999998 89597 92091 1000000000 69820 67935 999999997 81353 802...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 92756999860926 55281999904319 30277999941388 16180999965970 8512999981040 4417999989665 2287999994490 1177999997069 607999998455 313999999182 164999999562 86999999760 41999999883 14999999959 3999999991 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 ...
result:
ok 3 lines
Test #134:
score: 0
Accepted
time: 141ms
memory: 17664kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 8202 49504 956492814 47416 63579 968258303 91166 99070 965996845 83105 55685 995496345 76404 93099 920510865 54275 61468 969509959 86067 96778 900484299 52785 1315 956725107 67175 75450 938445911 15732 16763 958563671 31974 75450 947812573 9134 5293 99...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 95016065266887 94570707201642 94127674378655 93685130663876 93243967616203 92803311356013 92364860105911 91927651799996 91491843845563 91057377977631 90624171438818 90191311619842 89759724536233 89330275382072 88902148416223 88475219697909 88050448713775 8...
result:
ok 3 lines
Test #135:
score: 0
Accepted
time: 91ms
memory: 17472kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 80046 81398 1 61566 69649 1 46888 81398 1 22572 34669 1 43816 50249 1 40131 85720 1 59497 69855 1 34637 97359 1 91607 51415 1 22028 91529 1 10225 96855 1 21152 91168 1 86622 59075 1 17347 60872 1 61361 24865 1 93014 52498 1 64697 56275 1 12953 40778 1 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 168109 132600 111377 101721 99163 98269 97774 97332 96891 96451 96012 95574 95137 94701 94266 93832 93399 92967 92536 92106 91677 91249 90822 90396 89971 89547 89124 88702 88281 87861 87442 87024 86607 86191 85776 85362 84949 84537 84126 83716 83307 82899 ...
result:
ok 3 lines
Test #136:
score: 0
Accepted
time: 166ms
memory: 19160kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 99998 15690 53715 960184569 59926 53715 925796525 1492 13868 976393399 82882 53715 959438945 37597 39473 949517467 55366 39473 915957068 74478 70216 975059524 31321 70216 991665717 29383 53715 959265797 70415 53715 922113425 9835 70216 990012196 80288 39473 9...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 94999074662975 94975611396743 94960752757074 94945936596533 94932071403650 94918220365217 94904392773684 94891499087172 94878636642809 94865809517443 94853013320763 94840224576126 94827441175882 94815565090214 94803694454146 94791829415733 94779973038501 9...
result:
ok 3 lines
Test #137:
score: 0
Accepted
time: 155ms
memory: 20184kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 99991 14392 21929 204083523 67556 12506 431806664 88943 21929 717697099 28828 65462 76181258 19839 21929 225119724 81605 21929 982899019 90997 21929 995267643 87958 21929 447227309 59161 12506 694748802 74488 21929 834322212 74457 11467 753731052 60483 21929 ...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 50064501113101 50045183523710 50030897343205 50017607131611 50004767626878 49992404515221 49980166529216 49968554120824 49956990421206 49945512013493 49934104241527 49922906211981 49911824963775 49900824203340 49889899925156 49879024417269 49868200747864 4...
result:
ok 3 lines
Test #138:
score: 0
Accepted
time: 126ms
memory: 17580kb
input:
c10234cabdfd6eae47773fb6f163e0350fc797e1 100000 77636 51527 1000000000 2442 71761 1000000000 74710 58288 1000000000 12766 23354 1000000000 41549 70769 1000000000 67357 24145 1000000000 26466 99629 1000000000 56089 19298 1000000000 21739 71761 1000000000 81202 64914 1000000000 6842 3689 1000000000 27...
output:
064bde9ff69ddc34b3b45c2d26d58873d85290d3 OK 99999000000000 99554000000000 99109000000000 98664000000000 98222000000000 97780000000000 97339000000000 96898000000000 96458000000000 96020000000000 95583000000000 95146000000000 94711000000000 94277000000000 93845000000000 93413000000000 92983000000000 9...
result:
ok 3 lines