QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#799081 | #2498. Just Long Neckties | ZhaoZiLong | 100 ✓ | 62ms | 10604kb | C++20 | 1.2kb | 2024-12-04 21:40:42 | 2024-12-04 21:40:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 1
Accepted
Test #1:
score: 1
Accepted
time: 0ms
memory: 5676kb
input:
10 791367314 749897365 159094524 957330499 981666112 44094937 597955126 900070191 73727837 459698338 575905117 442106984 37855398 707227787 888346763 857663786 424986129 840423138 215518655 103615661 204065375
output:
244179683 244179683 360386462 244179683 244179683 360386462 307790381 244179683 360386462 360386462 307790381
result:
ok single line: '244179683 244179683 360386462 ... 360386462 360386462 307790381 '
Test #2:
score: 1
Accepted
time: 1ms
memory: 5808kb
input:
9 342816425 108006904 274960397 819135241 447383890 246771691 374340899 340293487 525060792 444388713 950290424 254034840 272567273 538366625 11530601 608983703 877265333 221774041 891777075
output:
96476303 235241090 96476303 96476303 96476303 96476303 96476303 96476303 96476303 96476303
result:
ok single line: '96476303 235241090 96476303 96...303 96476303 96476303 96476303 '
Test #3:
score: 1
Accepted
time: 1ms
memory: 5732kb
input:
9 312650287 787041894 830545013 256991373 729642211 910489007 728552963 832993854 111426432 405575444 508981680 286862185 663005526 869071909 758577537 981155357 855168979 68025277 116461313
output:
219571283 140530060 140530060 219571283 140530060 140530060 140530060 140530060 219571283 219571283
result:
ok single line: '219571283 140530060 140530060 ... 140530060 219571283 219571283 '
Test #4:
score: 1
Accepted
time: 1ms
memory: 5744kb
input:
9 572373948 814375653 793041933 925528689 562111874 874328457 908179521 943134730 949813374 879107772 413088944 267533683 209480399 307664278 1802477 198892359 459160276 541480290 440705886
output:
606794774 606794774 606794774 583561534 606794774 583561534 583561534 583561534 583561534 583561534
result:
ok single line: '606794774 606794774 606794774 ... 583561534 583561534 583561534 '
Test #5:
score: 1
Accepted
time: 1ms
memory: 5752kb
input:
10 920247971 821988740 694122798 652545607 668372538 703577023 885815926 891359037 692666915 866175712 876138471 108440808 35637342 269178511 364896490 285022239 267669406 426951350 649461275 652152301 291070132
output:
616908265 616908265 616908265 632735196 616908265 616908265 616908265 616908265 616908265 616908265 616908265
result:
ok single line: '616908265 616908265 616908265 ... 616908265 616908265 616908265 '
Test #6:
score: 1
Accepted
time: 1ms
memory: 5752kb
input:
9 532905934 948546299 996725677 460134036 505874029 689656824 602284586 648551551 530671920 440326075 104759611 11190232 210398979 80064315 336064921 234194835 49760899 92148057 118716914
output:
714351464 660660756 612481378 714351464 714351464 714351464 714351464 714351464 714351464 714351464
result:
ok single line: '714351464 660660756 612481378 ... 714351464 714351464 714351464 '
Test #7:
score: 1
Accepted
time: 1ms
memory: 5740kb
input:
9 646784870 16650986 464471971 666157017 727133096 869517825 947424197 16578788 123567937 450959295 646768560 123507707 666148448 727127546 464451279 450937188 16578720 947424095 869514715
output:
8569 60230 16310 5550 3110 102 68 72266 22107 20692
result:
ok single line: '8569 60230 16310 5550 3110 102 68 72266 22107 20692 '
Test #8:
score: 1
Accepted
time: 1ms
memory: 5680kb
input:
10 263416878 555726447 361711161 683716071 652002643 105683561 105782508 930838631 555172565 311218728 981245236 361654184 263334657 683706948 555127936 930830390 651990190 555705980 981238322 311160872 105682602
output:
57856 12453 44629 8241 9123 99906 82221 6914 20467 56977 959
result:
ok single line: '57856 12453 44629 8241 9123 99906 82221 6914 20467 56977 959 '
Test #9:
score: 1
Accepted
time: 1ms
memory: 5740kb
input:
9 938240593 79410476 624464987 211267784 79500271 575783889 303449348 515340392 703805249 481320031 211182979 79409991 703786750 624442226 575754824 938239401 481246106 303375128 515286701
output:
485 90280 18499 74220 84805 22761 73925 29065 1192 53691
result:
ok single line: '485 90280 18499 74220 84805 22761 73925 29065 1192 53691 '
Test #10:
score: 1
Accepted
time: 1ms
memory: 5792kb
input:
9 16391 12678 7976 32195 20259 27676 36489 41245 4207 24039 8855 4108 41063 22027 26900 17429 31538 36287 13428
output:
2830 2963 3823 202 2012 657 182 99 3868 776
result:
ok single line: '2830 2963 3823 202 2012 657 182 99 3868 776 '
Test #11:
score: 1
Accepted
time: 1ms
memory: 5752kb
input:
9 16600 5227 8847 12656 24866 29096 33898 20516 41168 36886 26552 40270 35620 13341 17667 31401 22286 4886 8929
output:
2849 3961 3727 3259 2544 2497 1266 2580 341 898
result:
ok single line: '2849 3961 3727 3259 2544 2497 1266 2580 341 898 '
Test #12:
score: 1
Accepted
time: 1ms
memory: 7788kb
input:
9 32984 40439 28406 36039 16745 24916 8613 12874 4743 21126 35820 26953 18374 22559 13800 4656 31610 9503 40275
output:
219 87 1374 164 2752 1453 3371 2945 3957 2357
result:
ok single line: '219 87 1374 164 2752 1453 3371 2945 3957 2357 '
Subtask #2:
score: 8
Accepted
Dependency #1:
100%
Accepted
Test #13:
score: 8
Accepted
time: 1ms
memory: 5744kb
input:
181 462280100 376321731 17830007 772973321 769278448 266332447 101146155 79738576 954953824 632999625 688190835 706187637 435605247 101648683 913282945 131345969 361374885 806842215 251300338 570308000 418352807 789280462 320276660 717141007 469893102 419343215 629718433 587059589 727645739 11718576...
output:
44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 36409843 44454481 44454481 44454481 44454481 44454481 36409843 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 44454481 444...
result:
ok single line: '44454481 44454481 44454481 444...481 44454481 44454481 44454481 '
Test #14:
score: 8
Accepted
time: 0ms
memory: 7780kb
input:
839 725768913 422325613 828245986 362468635 143046680 891218215 663991562 429211483 619608704 574507336 668639036 551192545 227191913 203987027 269477812 484145860 240334943 377230 630817380 26529236 376086516 992848170 526741917 332815005 242903569 778331151 149060464 210315998 876636286 960897456 ...
output:
32889303 32889303 32889303 32889303 33550117 32889303 32889303 32889303 32889303 32889303 32889303 32889303 32889303 32889303 32889303 32889303 32889303 33550117 32889303 33550117 32889303 32889303 32889303 32889303 32889303 32889303 33550117 32889303 32889303 32889303 32889303 32889303 32889303 328...
result:
ok single line: '32889303 32889303 32889303 328...303 32889303 32889303 32889303 '
Test #15:
score: 8
Accepted
time: 1ms
memory: 5760kb
input:
1418 101387941 761567464 268797499 520725249 730443208 854830693 669438992 973772881 830191981 741059200 31554394 670715205 412343940 558468444 937243394 775207870 527591390 205278108 967770851 999828282 986390161 902448055 976620250 854406712 804958099 965038386 877353081 155982371 89148379 8723649...
output:
35136802 34614187 35136802 35136802 34614187 34614187 34614187 34614187 34614187 34614187 35136802 34614187 35136802 35136802 34614187 34614187 35136802 35136802 34614187 34614187 34614187 34614187 34614187 34614187 34614187 34614187 34614187 35136802 35136802 34614187 35136802 35136802 35136802 346...
result:
ok single line: '35136802 34614187 35136802 351...187 34614187 35136802 35136802 '
Test #16:
score: 8
Accepted
time: 1ms
memory: 7728kb
input:
134 274023474 36705408 380247081 479677494 790913883 440114889 619320956 911192670 408991262 317345894 382512370 888355321 984597055 299651756 479894280 996315381 693616704 296317015 66830616 150823170 671513114 517553425 197567430 884483123 812520047 956227707 541385127 882173157 814890990 58864694...
output:
64454951 64454951 64454951 64454951 64454951 64454951 64454951 60747714 64454951 64454951 64454951 64454951 60747714 64454951 64454951 60747714 64454951 64454951 64454951 64454951 64454951 64454951 64454951 64454951 64454951 60747714 64454951 64454951 64454951 64454951 64454951 64454951 64454951 644...
result:
ok single line: '64454951 64454951 64454951 644...951 64454951 64454951 60747714 '
Test #17:
score: 8
Accepted
time: 1ms
memory: 5756kb
input:
1797 438556273 752833340 894743570 199759004 371075965 918768566 46262443 854651844 759193589 504289999 302980180 815728443 889168488 231726696 968618642 910124906 194787942 88211225 915708500 703701350 590434057 948022101 871883143 128392744 88872622 620178737 884596802 951191015 618693044 3014411 ...
output:
38456719 38456719 38456719 38678172 38456719 38456719 38678172 38456719 38456719 38456719 38456719 38456719 38456719 38678172 38456719 38456719 38678172 38678172 38456719 38456719 38456719 38456719 38456719 38678172 38678172 38456719 38456719 38456719 38456719 38678172 38456719 38456719 38456719 384...
result:
ok single line: '38456719 38456719 38456719 386...172 38456719 38678172 38456719 '
Test #18:
score: 8
Accepted
time: 0ms
memory: 5752kb
input:
1553 613765539 934515620 683411716 619207625 576912576 530116822 698419083 714937084 799872239 929109526 945198628 739138599 926753873 599684386 798286033 810836401 613808683 974483455 833357172 542377871 905266374 680827469 560671394 877791702 508242491 906218358 673053469 725291369 535117978 96287...
output:
518100534 518001963 518100534 518100534 518100534 518100534 518100534 518100534 518001963 518001963 518001963 518001963 518001963 518100534 518001963 518001963 518100534 518001963 518001963 518100534 518001963 518100534 518100534 518001963 518100534 518001963 518100534 518100534 518100534 518001963 ...
result:
ok single line: '518100534 518001963 518100534 ... 518001963 518001963 518001963 '
Test #19:
score: 8
Accepted
time: 1ms
memory: 5704kb
input:
1597 949457645 552906706 763827043 864687124 667714368 713697102 907694583 805093247 603766043 696272657 799172770 963791336 649894172 834364652 847023487 525678147 719356928 508858527 609483738 813250310 923207550 737098983 881391896 919105614 861162798 980213230 696919055 916470223 732766972 82341...
output:
508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 508075835 ...
result:
ok single line: '508075835 508075835 508075835 ... 508075835 508075835 508075835 '
Test #20:
score: 8
Accepted
time: 1ms
memory: 5776kb
input:
1575 792694043 791472574 889329656 752509704 982811122 737099298 524404538 959391936 840328575 886704833 790636704 872751262 809950171 944211840 722213774 714601971 849580375 880863160 850956956 982057899 545238374 765906728 600064525 799831617 732514981 686640443 578849607 935179404 551682860 55804...
output:
519343357 519343357 519343357 519343357 519343357 519343357 519534012 519343357 519343357 519343357 519343357 519343357 519343357 519343357 519343357 519534012 519343357 519343357 519343357 519343357 519534012 519343357 519534012 519343357 519343357 519534012 519534012 519343357 519534012 519534012 ...
result:
ok single line: '519343357 519343357 519343357 ... 519343357 519343357 519534012 '
Test #21:
score: 8
Accepted
time: 0ms
memory: 7824kb
input:
1615 916750085 664391641 979506334 868818970 945523292 695515542 518254280 785430124 826411290 587160052 657505565 748028361 817038840 804033765 688267846 747828021 807120022 888069953 581430928 889424747 488732471 514711526 999836444 844848429 688091319 907326514 524231404 522341977 816131547 86642...
output:
521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 521253432 520921718 521253432 521253432 521253432 521253432 521253432 521253432 521253432 ...
result:
ok single line: '521253432 521253432 521253432 ... 521253432 521253432 521253432 '
Test #22:
score: 8
Accepted
time: 1ms
memory: 5820kb
input:
1562 553982165 988601397 683136155 792160414 649720424 682700064 891087365 795404356 586433901 589436346 648694894 962262341 974482918 806210849 976439786 743307575 683665189 533560691 722351384 697135454 910512095 856575263 781152657 856654996 949138347 841995094 645162140 922234278 842821138 61706...
output:
518614353 518341131 518341131 518341131 518614353 518341131 518341131 518341131 518614353 518614353 518614353 518341131 518341131 518341131 518341131 518341131 518341131 518614353 518341131 518341131 518341131 518341131 518341131 518341131 518341131 518341131 518614353 518341131 518341131 518614353 ...
result:
ok single line: '518614353 518341131 518341131 ... 518614353 518614353 518614353 '
Test #23:
score: 8
Accepted
time: 0ms
memory: 5768kb
input:
1561 177877517 838123303 7132755 607253176 251199128 502091027 515180013 535429941 22097460 85404069 964692876 537814231 677873945 742013123 398097104 710540536 496030618 947159698 916839262 104687476 758215409 577880272 725923005 429620762 804341566 614085578 356348066 651642354 673244484 890808352...
output:
81265 15851 99281 38227 73685 48250 47236 45190 98387 92377 3150 44758 30187 24388 60587 26936 48611 4817 7357 89330 23149 40831 25310 55770 18559 37689 64493 32420 30328 10444 98532 69126 40062 21822 58371 95303 34274 84697 15806 57964 15546 10328 13881 32124 47368 8195 27448 53257 70915 74142 9671...
result:
ok single line: '81265 15851 99281 38227 73685 ... 99806 31329 83901 50369 95469 '
Test #24:
score: 8
Accepted
time: 0ms
memory: 5688kb
input:
1617 957739770 200514199 915819518 477308150 446149929 701372002 447313357 725213545 960618261 544904595 262052267 350881442 168600920 636357079 259169318 320785797 691230075 490279639 9683200 879484407 546890212 56026122 300098034 998275057 474571665 982691385 262457258 54705735 192256765 301353957...
output:
3352 80147 8157 52252 54898 28973 54839 25530 2921 45093 72566 63034 84134 35650 73287 65687 30316 50361 99444 11264 44647 95286 67731 262 52467 1864 72540 95628 81326 67675 12626 76902 61177 74237 33566 86982 38578 64070 63412 91082 18846 78282 95175 19092 2497 15953 88529 67474 22788 3331 85151 68...
result:
ok single line: '3352 80147 8157 52252 54898 28... 29762 29448 78729 28691 51356 '
Test #25:
score: 8
Accepted
time: 1ms
memory: 5788kb
input:
1888 810111811 29107319 111455524 466056277 901770574 949128820 595169079 696428042 402568208 316599668 885597333 299035380 520863814 653114829 281567272 293857964 792074948 38812046 41205270 460284562 684840395 672948737 997180272 581475271 800649788 446414955 397281032 287438639 56279696 263998304...
output:
20609 96911 88808 53454 11242 5326 40332 30815 60122 68486 12583 71076 47534 34600 72483 71412 22406 96178 95916 54082 31419 32397 361 41636 21484 55608 60368 71780 94719 73947 13640 73714 17434 83204 51380 96911 80690 64067 61752 1507 21734 73060 8749 3503 74666 16554 22486 35287 14036 29700 83449 ...
result:
ok single line: '20609 96911 88808 53454 11242 ...8 23243 1025 73532 19586 16842 '
Test #26:
score: 8
Accepted
time: 1ms
memory: 5684kb
input:
1815 365300577 297685726 425208147 781714047 69722437 467184554 810741712 940365723 2369107 271752838 663397541 690672303 262184850 93937249 118506421 901120645 681728776 207796740 443300819 622959745 637286588 77372690 879289065 879676626 678813045 283318022 962169670 523184388 579697921 684257387 ...
output:
62813 69323 56809 21865 92734 51761 18559 6016 99591 71751 32823 29666 72369 90915 88136 9783 30617 78509 54143 36935 35832 91958 11788 11782 30996 70644 3516 46808 41018 30565 51427 91978 37720 226 34961 45041 502 46841 87101 80109 36395 29666 86856 27009 16006 75446 78034 90213 85389 98001 81392 8...
result:
ok single line: '62813 69323 56809 21865 92734 ...8 93509 74823 40310 79349 4777 '
Test #27:
score: 8
Accepted
time: 0ms
memory: 5776kb
input:
1795 951644685 409303946 783048163 726492905 552851828 262595881 330512063 661327615 550047516 908714549 506955817 958954661 355514352 545569896 753262243 878543983 238924494 255037418 191795194 43186741 602361924 623491847 938243993 343139760 485732056 703602876 6284194 586538582 748814835 12773237...
output:
3969 60732 19903 25053 44614 73654 67942 32238 45048 7663 49651 3333 65463 45510 22765 10746 75888 74345 81561 94563 39391 37124 4952 66708 52425 27818 98995 40792 22828 86973 20152 52263 11304 2539 12708 71143 61239 33255 97479 36693 30877 35481 4724 35811 29884 20546 2245 76929 11563 41619 47222 1...
result:
ok single line: '3969 60732 19903 25053 44614 7...0 95635 18761 53776 24389 4858 '
Test #28:
score: 8
Accepted
time: 1ms
memory: 5764kb
input:
1881 3945336 173945 278586 4069989 6819669 2420362 8316710 1869526 6372782 5460568 3058521 2254926 7967085 1940185 4688177 7047082 4724213 5369764 8084781 945013 718527 7904753 3658554 7051861 1660447 2607135 2139870 7820177 1142702 3071358 5935203 612343 2668061 3715090 3378511 4266157 6477756 4030...
output:
2136 3882 3833 2070 765 2839 40 3081 962 1386 2579 2914 215 3048 1792 643 1769 1434 157 3507 3603 243 2290 641 3158 2768 2950 274 3388 2574 1171 3654 2747 2260 2432 1973 920 2093 1679 736 3090 406 3364 3111 1072 3962 2355 3170 2352 3286 147 1710 1518 3154 1135 581 3592 948 90 347 178 747 615 2 26 30...
result:
ok single line: '2136 3882 3833 2070 765 2839 4...15 1187 1275 126 2826 432 1637 '
Test #29:
score: 8
Accepted
time: 0ms
memory: 7788kb
input:
1625 3396565 6437183 4285397 4110840 5015139 2008013 4334270 5574769 2163987 4790022 4933646 6804024 3971430 4204526 3597366 3815873 1761188 3642450 6610998 5340646 1389640 3792588 2222490 2339357 6300925 855660 3471965 1204140 4128493 3196670 6233119 239863 5560477 4915436 244502 2150046 2214206 43...
output:
2115 440 1628 1714 1244 2888 1593 924 2810 1355 1290 264 1786 1663 1987 1859 2987 1956 353 1061 3200 1865 2783 2726 511 3551 2067 3300 1705 2226 563 3873 927 1297 3872 2815 2786 1600 1231 1528 2160 3722 978 1298 2610 695 2580 129 2782 48 2893 1170 99 859 1737 2050 3562 1252 1937 1817 1403 1881 3015 ...
result:
ok single line: '2115 440 1628 1714 1244 2888 1...31 3587 3658 3281 2307 2472 95 '
Test #30:
score: 8
Accepted
time: 1ms
memory: 5704kb
input:
1795 2766331 7131061 3820059 1341697 2506342 35043 6108168 1823301 2407435 6231333 2169081 263069 2013681 4305657 917673 3986113 294035 2919447 770484 1155172 1963910 1563946 4802347 5561592 7078279 7162492 7904198 5356693 4319774 4426169 3394745 2320256 1719485 6731009 4832957 3189342 6476411 55342...
output:
2605 434 2050 3311 2719 3990 930 3083 2800 889 2912 3874 2991 1812 3510 1966 3863 2509 3585 3398 3024 3204 1546 1184 456 415 47 1278 1804 1735 2263 2849 3129 648 1533 2363 769 1201 1604 601 2271 2265 2368 2946 1492 2381 457 2607 55 1165 771 2765 575 3466 1644 2501 1748 208 2887 2919 3913 1693 3077 1...
result:
ok single line: '2605 434 2050 3311 2719 3990 9...4 1034 3048 3448 963 1004 1773 '
Test #31:
score: 8
Accepted
time: 1ms
memory: 5764kb
input:
1916 360882 3322350 3957196 6022655 5971747 7929564 2381861 8318411 2641798 4796003 4865821 5183064 6238590 6050401 4716533 5819977 1433797 238721 4964106 6909242 688025 8436043 2448596 1724012 1322510 8199282 3056499 4044172 34056 3657746 3674977 8225806 5684065 6731755 5354980 6225169 7375767 3653...
output:
3821 2440 2098 1186 1211 260 2827 81 2721 1731 1694 1553 1070 1176 1771 1284 3286 3878 1646 766 3652 43 2804 3121 3346 134 2560 2047 3986 2249 2243 128 1363 850 1480 1076 528 2252 3705 453 1123 1162 3769 3588 18 3633 1756 1113 1394 3027 3521 855 151 3371 1880 470 600 1561 762 3321 2990 2538 3664 166...
result:
ok single line: '3821 2440 2098 1186 1211 260 2... 3205 2179 1174 2124 349 42 57 '
Test #32:
score: 8
Accepted
time: 1ms
memory: 7756kb
input:
1996 3193550 5042284 1169353 8339983 4993573 1492313 845245 6758877 1111359 8401359 1938999 5206463 1674492 8098061 5521700 5886096 3224427 6389849 1460702 1003712 3735999 1815432 1269118 2168571 721089 7800279 5442728 8778322 8642478 7260753 1714444 6520348 414904 1582003 8606105 8348059 4391031 47...
output:
2593 1730 3491 264 1758 3353 3662 972 3514 235 3143 1661 3282 386 1538 1373 2568 1150 3371 3575 2325 3201 3431 3044 3702 512 1565 43 114 744 3261 1073 3823 3320 129 260 2022 1868 635 475 3683 3733 1629 3036 3547 706 3558 1983 94 832 59 3153 3748 2200 3589 1607 1539 3891 1042 2149 1617 576 3879 973 2...
result:
ok single line: '2593 1730 3491 264 1758 3353 3...24 639 1825 3958 618 3558 3895 '
Subtask #3:
score: 91
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #33:
score: 91
Accepted
time: 55ms
memory: 8704kb
input:
190385 753754633 994873347 101381060 303139645 742759831 197625101 422324080 526859863 69156472 140641642 504359370 729692560 827901314 688506767 535218260 27888081 402100021 912253526 625867633 353037681 847294707 882986794 509494549 63114597 888351439 169210751 868156366 345591399 745029499 927785...
output:
2206739 2206739 2210480 2210480 2206739 2210480 2206739 2206739 2210480 2210480 2206739 2206739 2206739 2206739 2206739 2210480 2206739 2206739 2206739 2206739 2206739 2206739 2206739 2210480 2206739 2210480 2206739 2210480 2206739 2206739 2210480 2210480 2210480 2206739 2206739 2210480 2206739 2206...
result:
ok single line: '2206739 2206739 2210480 221048...206739 2206739 2206739 2206739 '
Test #34:
score: 91
Accepted
time: 60ms
memory: 8776kb
input:
198403 559091788 242773400 483646829 784877481 697527395 829819706 80576561 854916549 671466473 830774935 868182877 788207155 447850622 639034230 281687231 864578992 216673294 304725227 28751337 937041474 331687069 888291738 98265890 469993205 776701966 288626739 249988187 610684389 443804908 872545...
output:
3899541 3899955 3899541 3899541 3899541 3899541 3899955 3899541 3899541 3899541 3899541 3899541 3899541 3899541 3899955 3899541 3899955 3899955 3899955 3899541 3899955 3899541 3899955 3899541 3899541 3899955 3899955 3899541 3899541 3899541 3899541 3899955 3899541 3899541 3899955 3899541 3899955 3899...
result:
ok single line: '3899541 3899955 3899541 389954...899955 3899955 3899541 3899541 '
Test #35:
score: 91
Accepted
time: 58ms
memory: 10568kb
input:
191745 414540923 746754183 649251162 48358147 375520399 266278469 493808360 439343639 242704908 324224066 30544562 32201503 287239072 154675717 520102268 329406801 941716541 951089129 343884055 713899395 989449508 724993870 722298799 667549371 275077578 696366142 473859377 157215276 797799732 504866...
output:
2534671 2534671 2534671 2543308 2543308 2543308 2534671 2534671 2543308 2543308 2543308 2543308 2543308 2543308 2534671 2543308 2534671 2534671 2543308 2534671 2534671 2534671 2534671 2534671 2543308 2534671 2534671 2543308 2534671 2534671 2543308 2543308 2543308 2534671 2543308 2543308 2534671 2534...
result:
ok single line: '2534671 2534671 2534671 254330...534671 2534671 2543308 2543308 '
Test #36:
score: 91
Accepted
time: 59ms
memory: 9196kb
input:
193236 603433264 664473005 843459171 630528734 612782556 558495128 715988767 975282044 517097460 773020159 519914133 818761120 904349548 901055756 958028515 718414055 748960473 516006559 987368691 717245440 659181321 953834975 680268235 627793054 699778472 875339596 868798928 956681371 714869326 795...
output:
500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500223978 500221323 500223978 500221323 500221323 500221323 500221323 500221323 500221323 500223978 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 500221323 ...
result:
ok single line: '500221323 500221323 500221323 ... 500221323 500221323 500221323 '
Test #37:
score: 91
Accepted
time: 57ms
memory: 8756kb
input:
199366 823325730 661197094 661865675 961542410 823260888 553969059 910920603 756695775 843336544 503044684 783340638 767630059 698788151 592974745 790224520 548628735 514939490 634408494 935438813 886227161 549977560 953104022 533919766 769181416 846670319 972590018 960275107 655741211 682177475 904...
output:
501528577 501534374 501534374 501528577 501528577 501534374 501528577 501528577 501528577 501534374 501528577 501528577 501534374 501534374 501528577 501534374 501534374 501534374 501528577 501528577 501534374 501528577 501534374 501528577 501528577 501528577 501528577 501534374 501534374 501528577 ...
result:
ok single line: '501528577 501534374 501534374 ... 501528577 501534374 501534374 '
Test #38:
score: 91
Accepted
time: 61ms
memory: 9636kb
input:
196934 857996432 803331685 798617873 653866243 572873556 698903680 542794056 872355443 571793012 718711972 647239784 954020322 589843329 520648856 895880924 953831465 538707185 956296846 754300777 940580572 806832056 810250222 502957668 898229050 632309889 728404942 890879103 582039454 503598856 794...
output:
501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501134673 501138787 501134673 501134673 501134673 501134673 501134673 501138787 501134673 ...
result:
ok single line: '501134673 501134673 501134673 ... 501134673 501134673 501134673 '
Test #39:
score: 91
Accepted
time: 51ms
memory: 8656kb
input:
194476 850491539 468535906 165089879 206267227 870296658 618254154 625269572 306326942 432814384 6838336 110817009 285428708 642760543 53012520 521398120 476783319 341621266 902921595 538448551 930170704 283768277 270339395 251892114 19907653 85663167 67631938 203350101 976992453 330020521 947325261...
output:
15114 45201 53610 53610 13109 37226 36949 53610 45201 55470 55470 53610 35718 55470 45201 45201 51605 9873 45201 7013 53610 53610 53610 55470 55470 55470 53610 2279 51605 5253 55470 45201 55470 21400 55470 55470 53610 39447 38777 55470 39447 39447 53610 55470 53610 45201 53610 55470 53610 53610 4520...
result:
ok single line: '15114 45201 53610 53610 13109 ... 26051 32782 45201 55470 32782 '
Test #40:
score: 91
Accepted
time: 47ms
memory: 9528kb
input:
193570 318833230 637307972 7135903 242518758 575874997 292007202 155831708 852130251 843669713 427383587 933931202 392101324 427770454 517636073 326343525 639668584 708052637 338624566 773376700 608123232 721012302 753732049 719176578 373838137 319245349 208058593 798764339 511722547 580615537 91850...
output:
59787 36092 62459 59787 41336 59787 59787 14719 15559 47436 6522 50832 47436 43637 59787 36092 29159 59787 22633 39235 27939 24631 28104 59787 59787 59787 20012 43637 41336 8106 33930 15405 47436 43637 62459 59787 59787 35391 18056 24557 13938 47436 59787 1101 62459 62459 26673 59787 59787 14188 624...
result:
ok single line: '59787 36092 62459 59787 41336 ... 13215 29871 59787 43637 22158 '
Test #41:
score: 91
Accepted
time: 55ms
memory: 10604kb
input:
195775 883255007 508589718 892625879 38680463 571984464 108853328 450559192 933575370 576408674 595622109 117506724 893674338 996664647 159518850 622497462 332008273 771757141 718884211 153350371 682905807 671825633 860053072 787196212 962999463 747901108 314338214 158925957 671850723 847277817 1710...
output:
11727 47077 10802 68884 40977 68884 47077 6721 40977 39244 68884 10695 359 68884 37007 56813 22902 27922 68884 31690 32732 14018 21237 3780 25162 56813 68884 32732 15279 68884 56813 21237 38854 68884 56813 16704 37860 68884 56813 47077 10192 68884 12403 68884 47077 39244 9443 14522 68884 8237 1668 6...
result:
ok single line: '11727 47077 10802 68884 40977 ...84 8577 20035 47077 23102 2065 '
Test #42:
score: 91
Accepted
time: 58ms
memory: 9572kb
input:
195116 550921855 412810123 421605171 657229355 960233152 226794647 835399385 89068151 186082022 730605520 110520870 614360263 369505548 14602856 759782384 886344406 423713706 857161137 504019577 252926099 232524930 482851452 38202385 415578143 116880014 310968426 306352079 121041093 713448431 994617...
output:
42755 45250 45250 34352 3954 70864 16314 70864 70864 26829 70864 38656 49241 70864 23980 11222 45250 14211 45250 49241 70864 45250 70864 45250 70864 49241 49241 70864 28614 544 26488 37660 13335 45250 11269 49241 49241 70864 70864 34471 70864 70864 70864 70864 49241 70864 42755 49241 45250 14448 292...
result:
ok single line: '42755 45250 45250 34352 3954 7... 49241 49241 70864 28167 49241 '
Test #43:
score: 91
Accepted
time: 59ms
memory: 8672kb
input:
193793 931369200 4926496 774942132 998428384 838712329 51383638 131661379 954294111 584787754 101710649 158732200 187759367 661731094 784017090 129669387 625837531 988338040 583865053 207582327 329246140 170217294 114444389 986033941 553292049 627593677 872799812 632899810 19894655 58267396 78050912...
output:
6957 70964 22510 156 16130 70964 70964 4607 41496 70964 70964 70964 33641 21550 70964 37256 1193 41496 70964 57543 70964 70964 1412 41496 36263 12742 36263 70964 70964 21950 70964 48304 53426 12677 70964 14288 57543 53426 23184 35019 27752 57543 70964 19367 57543 39178 1851 48304 70964 19088 23887 4...
result:
ok single line: '6957 70964 22510 156 16130 709...76 53426 17259 1192 48304 1307 '
Test #44:
score: 91
Accepted
time: 49ms
memory: 8592kb
input:
190460 605496318 559856535 77224056 125436597 395239887 680342982 86533961 344996338 692528413 52105278 834027290 97475855 672005072 370556955 558890876 320266321 584090535 336041152 437979604 664997995 498974909 582582752 480057848 250065876 441563886 228931324 479345849 676532073 302252345 2617798...
output:
1136 1350 3639 3413 2126 786 3596 2367 729 3756 62 3545 825 2243 1354 2485 1239 2410 1924 857 1636 1245 1726 2814 1907 2917 1730 804 2571 3878 1961 3221 3869 3247 1059 3864 3886 2898 3016 1422 1403 696 1280 1572 2667 2496 1088 2622 2425 1742 3587 2300 3187 2806 789 3314 580 653 2440 2045 3343 2483 1...
result:
ok single line: '1136 1350 3639 3413 2126 786 3...75 2830 3359 414 1210 889 3675 '
Test #45:
score: 91
Accepted
time: 59ms
memory: 9524kb
input:
192068 169686556 174989536 738723434 557483379 445457634 491309864 787879488 33300356 29952190 770616075 465723699 467785263 447083815 132728891 659133359 414258050 583303938 802969470 144377740 111924637 697811040 160330406 30767379 754409889 737588868 158476937 801355561 56253080 529971580 3998006...
output:
3204 3179 537 1389 1911 1699 308 3845 3860 388 1816 1806 1903 3377 908 2058 1266 241 3323 3473 728 3248 3856 463 542 3257 249 3737 1516 2127 727 1094 3270 3930 3513 845 107 330 3589 1029 1163 1793 1521 145 1135 2783 689 1284 1031 307 2960 2817 2310 2068 1543 2168 3211 507 18 2830 1519 2313 77 3241 3...
result:
ok single line: '3204 3179 537 1389 1911 1699 3...4 834 2901 2089 2387 1343 3222 '
Test #46:
score: 91
Accepted
time: 57ms
memory: 9568kb
input:
190420 431355395 456728968 709657241 721970610 650072310 478201329 153875006 84836160 709911559 647181973 412438497 529786065 187554039 800204900 701983589 733598213 194067201 725165861 587838484 129341121 369063151 119294086 337947993 106311549 11593461 810153569 92867374 805023269 183576281 113081...
output:
1970 1849 653 596 934 1748 3271 3596 652 948 2058 1506 3114 224 689 541 3085 581 1231 3389 2260 3436 2406 3495 3945 177 3558 201 3133 3464 2888 844 2078 3917 2439 332 2120 642 3399 3775 835 3501 2439 2310 1569 1543 300 2100 464 3899 1974 2465 2449 2473 3857 2856 2637 1649 1690 1541 1157 3662 435 361...
result:
ok single line: '1970 1849 653 596 934 1748 327...86 1096 902 3607 3147 2267 785 '
Test #47:
score: 91
Accepted
time: 50ms
memory: 9624kb
input:
200000 373305710 800020006 800020001 800020005 800020003 800020002 800020005 800020001 800020004 800020004 800020004 660817046 800020001 800020001 800020006 800020003 800020002 800020006 597703331 800020004 800020003 800020004 800020005 765943361 800020005 800020006 800020005 798900245 800020002 800...
output:
29213 1 1 1 1 1 1 1 1 1 1 16685 1 1 1 1 1 1 20115 1 1 1 1 8255 1 1 1 1496 1 1 1 21365 1 1 1 1 1 1 1 35364 1 1 1 1 1 1 1 1809 1 1 23134 34703 1 1 1 1 1 1 1 1 1 1 1 1 27912 1 1 2577 1 1 1 1 36971 1 1 1 1 1 1 1 1 1 1 1 1 36032 23289 1 1 12300 1 1 1 29402 1 1 1 1 1 1 1 1 1 1 1 1 26548 1 1 1 1 1 459 1 21...
result:
ok single line: '29213 1 1 1 1 1 1 1 1 1 1 1668...84 1 1 1 1 18903 38253 31550 1 '
Test #48:
score: 91
Accepted
time: 54ms
memory: 9576kb
input:
200000 800020001 800020006 617031986 800020001 800020004 800020003 800020001 800020004 800020005 800020003 800020006 800020006 800020004 800020002 778111111 800020001 800020004 362753623 800020005 800020004 644373455 800020001 800020001 800020004 800020006 800020003 800020004 800020002 800020002 800...
output:
1 1 19130 1 1 1 1 1 1 1 1 1 1 1 6619 1 1 29572 1 1 17643 1 1 1 1 1 1 1 1 1 1 29134 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14514 1 1 2888 1 1 1 1 1 1 1 1 1 1 1 1 1 1 23091 1 35449 1 1 1 1 1 1 1 1 1 1 1673 1 1 36796 1 1 18462 1 1 1 1 28811 1 1 1 1 1743 17672 1 1 3090 1 1 1 1 1 816 1 1 1 1 1 1 11332...
result:
ok single line: '1 1 19130 1 1 1 1 1 1 1 1 1 1 ...1 1 1 1 1 25010 1 13118 1 9929 '
Test #49:
score: 91
Accepted
time: 61ms
memory: 9612kb
input:
200000 111563466 945389586 729186560 325989434 501146655 371124278 911783437 343175432 709950514 695685923 899969950 508361704 968683830 848928148 699719565 469673865 678822883 882885953 489692813 839361542 691949977 546787895 432504573 270670539 342222529 459088108 334048375 120644456 953246415 635...
output:
53642 5430 27079 50790 43105 50790 8843 50790 28587 30359 10051 43105 3064 15185 29983 48664 32037 11774 43105 16056 30790 43105 50790 50790 50790 48664 50790 53642 4644 36106 8611 53642 7943 25626 43105 24589 53642 38869 53642 10379 24245 43105 26858 53642 53642 38869 17675 48664 22186 40324 43105 ...
result:
ok single line: '53642 5430 27079 50790 43105 5... 53642 50790 50790 27782 20826 '
Test #50:
score: 91
Accepted
time: 53ms
memory: 8768kb
input:
200000 182067435 798826626 937965501 150455618 261438755 787308439 929102273 605878817 559350198 815693525 49652241 943379825 798588937 393028484 888088478 431945592 326799386 881651158 659328339 519061257 813907993 290997168 46175531 224249997 569878603 286458919 520440428 724114492 799477766 38189...
output:
64424 20092 6244 64424 64424 21270 7136 39241 39736 18422 64424 5680 20092 52233 11240 52233 64424 11898 34117 45819 18597 64424 64424 64424 39736 64424 45819 27453 20050 52233 64424 39241 45819 64424 64424 3135 21270 6124 14623 64424 2859 39736 64424 64424 45819 64424 39736 39241 52233 64424 64424 ...
result:
ok single line: '64424 20092 6244 64424 64424 2... 45819 64424 52233 10912 64424 '
Test #51:
score: 91
Accepted
time: 62ms
memory: 9660kb
input:
200000 693807161 106081482 946277571 787869223 229875347 504453599 226742667 211438709 86299879 595351506 689387552 283454252 779707381 92058437 689432920 832087628 118893987 361906143 608683733 418408506 35898747 181467687 929975390 558074759 335034330 171571335 638404356 573370820 149543698 769381...
output:
30125 56023 5348 21183 54831 47690 54831 54831 56023 40002 30199 54831 21948 56023 30199 16677 54831 54831 38809 50817 56023 54831 6991 43122 54831 54831 35845 40900 54831 22998 30125 54831 14303 40590 46543 24065 16790 54831 56023 6569 54831 40002 3109 56023 31867 56023 30125 43122 9873 7817 54831 ...
result:
ok single line: '30125 56023 5348 21183 54831 4... 54831 54831 54831 54831 47690 '
Test #52:
score: 91
Accepted
time: 60ms
memory: 8772kb
input:
200000 815887219 271489898 756564689 951367179 201999101 270894059 877446152 937452729 610499483 534224180 1338866 90800954 390638306 939765278 201653437 273404420 473445534 391851403 297914153 895148056 173575508 779927340 772552668 521491694 907134081 900123544 249697246 461578440 135097952 604287...
output:
18371 50290 24153 4912 54890 50290 12324 6297 38015 44424 54890 54890 50290 6055 54890 50290 47342 50290 50290 10589 54890 21930 22615 47342 9324 10057 50290 50290 54890 38015 50290 54890 50290 50290 50290 54890 38015 50290 50290 54890 54890 54890 47342 35796 38015 335 50290 1720 54890 34984 54890 2...
result:
ok single line: '18371 50290 24153 4912 54890 5... 54890 50290 30508 39943 50290 '
Test #53:
score: 91
Accepted
time: 53ms
memory: 8828kb
input:
200000 599585451 745738286 168877390 17577570 355103826 613080019 161602775 532809454 905509193 61232363 379326651 380088548 628253206 822739478 641672832 298153161 941068591 418546731 250567617 504530716 239412736 418059203 838426085 39577693 486143686 138678092 750379 938685367 389463315 62360245 ...
output:
39016 25361 58305 58305 58305 38523 58305 45158 9389 58305 49642 49642 36808 17700 35720 58305 5730 49642 58305 45158 58305 49642 16135 58305 49642 58305 58305 5975 49642 58305 28354 58305 15521 58305 58305 49642 43559 58305 45158 42625 36808 49642 111 58305 45158 28613 1891 6462 29987 58305 58305 5...
result:
ok single line: '39016 25361 58305 58305 58305 ...05 39016 438 58305 31849 58305 '
Extra Test:
score: 0
Extra Test Passed