QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#437645 | #8786. The Whole World | _map_ | WA | 2054ms | 10912kb | Python3 | 1.2kb | 2024-06-09 14:30:51 | 2024-06-09 14:30:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 12ms
memory: 10772kb
input:
2 2 1 0 4 1 3 1 1 4 4 6 6
output:
3 1
result:
ok 2 number(s): "3 1"
Test #2:
score: 0
Accepted
time: 12ms
memory: 10888kb
input:
2 2 1 0 4 1 3 1 0 3 0 5 4
output:
3 3
result:
ok 2 number(s): "3 3"
Test #3:
score: 0
Accepted
time: 18ms
memory: 10792kb
input:
2 10 1 557 2 -172 3 -497 5 763 6 -149 7 -355 8 -29 9 -588 10 -171 11 -355 10 1 -461 2 -219 3 -45 4 -212 5 749 6 -294 9 -85 10 213 11 -412 12 125
output:
10 11
result:
ok 2 number(s): "10 11"
Test #4:
score: 0
Accepted
time: 236ms
memory: 10732kb
input:
20 10 1 -193165761 4 426322868 5 -408198139 7 -455731045 9 -389028341 17 -590246653 18 119481348 21 809814532 23 47591392 26 -21020402 10 3 -715116939 5 -263142266 6 -426687860 10 342227448 14 141724722 15 576758779 18 123410194 19 256532828 20 -223524833 25 386574889 10 5 34943085 7 238431559 9 168...
output:
25 22 23 20 20 25 23 25 26 23 23 25 29 23 24 29 29 27 25 19
result:
ok 20 numbers
Test #5:
score: 0
Accepted
time: 1020ms
memory: 10716kb
input:
100 10 1 158027281 3 -154375927 6 -515683907 9 -801063453 15 371607728 16 -30224647 24 -215349633 26 219182013 29 -87257968 30 186925822 10 2 205585983 9 740879281 11 -672242855 14 -53907640 16 146130715 20 -17941862 25 -424140108 26 593743162 27 -8310423 28 84863497 10 3 46810292 4 361101002 5 4687...
output:
29 25 25 20 19 25 20 29 29 19 25 19 26 26 27 21 27 26 25 25 24 26 27 25 25 27 26 23 27 23 29 25 27 26 28 29 29 20 21 23 22 25 23 16 25 29 26 25 26 18 23 18 23 19 28 19 26 26 24 18 26 19 23 27 21 23 17 26 28 25 27 23 16 19 25 26 23 25 14 23 20 20 25 23 24 23 19 19 20 20 22 26 26 25 22 23 28 17 19 19
result:
ok 100 numbers
Test #6:
score: 0
Accepted
time: 1796ms
memory: 10820kb
input:
100 30 1 -519015304 2 269671593 3 -163533023 4 830108438 5 337806976 6 -87888761 7 -195233355 8 -341350273 9 38092088 10 285610643 11 -240058763 12 256373103 13 297741964 14 -247379404 15 -26410774 16 -755197562 17 -643221179 18 159031836 19 689848941 20 622207228 21 -407862690 22 401550934 23 10884...
output:
29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29
result:
ok 100 numbers
Test #7:
score: 0
Accepted
time: 1814ms
memory: 10732kb
input:
100 29 1 149105603 2 19193029 3 -254160491 4 -298710412 5 -329725675 6 644578442 7 611132722 8 -806708763 9 506813970 10 566271854 11 -621025393 12 293347092 13 -332652769 14 -320671582 15 507576094 16 -153368460 17 -242687628 18 545685752 19 -359086703 20 -31631637 21 34200734 22 695203819 23 66205...
output:
29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 28 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 28 29 29 29 29 29 29 29 28 29 29 29 29 28 29 29 29 29 29 29 29 28 29
result:
ok 100 numbers
Test #8:
score: 0
Accepted
time: 2054ms
memory: 10808kb
input:
100 27 1 -219694090 2 313611706 3 19681553 4 -393439728 5 137039465 6 -210242538 7 -257014477 8 711593910 9 -126342644 10 317378740 12 -27880234 14 -312500245 15 -611623850 16 26965932 17 -344751802 19 25604908 20 -925684523 21 218732296 22 -906235432 23 128008760 24 128339229 25 -373435576 26 78643...
output:
29 29 29 29 29 29 29 29 29 28 28 29 29 29 28 29 29 29 29 29 29 29 29 29 29 28 28 29 29 29 29 29 29 29 29 29 29 29 29 28 29 29 29 29 29 29 29 29 28 29 28 29 29 29 29 28 29 29 29 28 29 29 29 29 28 28 29 28 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 28 29 29 28 29 28 29 29 29 29 29 29 29 29 29 28 29
result:
ok 100 numbers
Test #9:
score: 0
Accepted
time: 1860ms
memory: 10824kb
input:
100 26 1 66877446 2 -164941227 3 225463507 4 184131912 5 102090525 7 758317818 8 -97450001 9 370239141 11 3046899 13 323733227 14 -130439971 16 -635446409 17 -859978167 18 48284039 19 -447989609 20 -127277242 21 557802358 22 101519428 23 62166242 24 -314606125 25 -689141632 26 -358169960 27 -4857611...
output:
29 29 28 29 29 29 28 29 29 29 29 29 29 28 29 29 28 28 29 29 29 29 29 29 28 29 28 27 29 27 28 29 29 29 29 29 28 29 29 28 29 28 29 29 29 29 28 28 29 29 29 29 29 29 29 29 29 29 28 29 28 29 28 27 29 29 28 29 29 29 29 29 29 29 29 29 29 29 29 28 29 28 29 29 29 29 29 29 29 29 29 28 29 28 29 29 28 28 29 29
result:
ok 100 numbers
Test #10:
score: 0
Accepted
time: 1977ms
memory: 10912kb
input:
100 25 1 348246102 2 -750467389 3 -68044274 4 -686461116 5 -293360003 7 -262211929 8 669230593 9 -78704756 10 609746050 11 41527955 12 -497959309 14 -647052946 15 -588566559 16 -19571993 18 -540729853 19 146529178 20 -814716222 21 28809002 22 -486593284 24 330571691 25 -313603881 26 757285671 27 -65...
output:
29 29 27 29 27 29 28 29 28 28 29 29 28 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 27 28 29 29 29 29 29 28 29 29 28 27 28 29 29 29 27 28 29 27 28 28 29 29 29 28 28 29 29 28 29 28 29 29 29 27 28 29 29 29 28 29 28 29 29 29 29 28 28 29 27 29 29 28 29 29 27 29 29 27 29 29 29 29 29 28 29 29
result:
ok 100 numbers
Test #11:
score: 0
Accepted
time: 1860ms
memory: 10760kb
input:
100 24 1 232880847 2 -489768736 4 -535788421 5 -109001398 6 -632734245 8 -411753361 10 275051825 11 577581411 12 -81737036 13 -221509120 14 -561678665 15 365478690 19 -324173702 20 208854667 21 -387192388 22 -649434295 23 291048454 24 344365482 25 76539150 26 126031273 27 -396021296 28 -344960240 29...
output:
29 29 29 29 26 28 29 26 28 29 29 29 29 29 27 29 28 25 28 29 28 29 29 29 29 27 29 28 29 27 29 28 29 28 28 27 29 29 29 28 29 29 29 28 27 28 28 29 27 29 27 29 29 29 29 29 27 28 28 28 29 29 29 28 28 28 29 29 29 27 28 28 29 29 29 27 28 28 26 29 28 26 29 29 27 29 29 29 29 29 29 27 29 29 29 27 28 29 27 27
result:
ok 100 numbers
Test #12:
score: 0
Accepted
time: 2051ms
memory: 10688kb
input:
100 23 1 478739509 2 359667718 3 -882444045 4 57243210 5 -383836266 7 697287195 8 794293697 9 596461407 10 -376755911 11 -342210915 14 -307035202 15 516844954 16 273425410 17 622517588 18 331049509 20 291385046 21 441000840 23 301865030 25 -47497896 26 454086322 27 -700208571 28 75982830 30 86810034...
output:
29 29 29 29 27 28 28 29 29 29 29 28 29 27 29 28 27 28 29 28 27 27 29 29 29 27 29 28 29 29 27 27 29 29 29 29 29 27 29 29 28 29 29 29 28 28 27 29 29 29 28 29 28 29 29 29 29 29 28 29 28 27 28 28 29 27 29 29 28 29 29 29 27 28 29 28 29 29 28 27 27 29 27 29 29 29 28 27 28 27 29 28 29 28 29 27 28 27 26 29
result:
ok 100 numbers
Test #13:
score: 0
Accepted
time: 1964ms
memory: 10792kb
input:
100 22 1 82224311 2 380989415 3 -57663623 4 11085277 5 -582683316 8 -471665926 9 -6237828 10 207354682 11 -637027084 12 -377093059 15 -525136114 17 -487354995 18 547677692 19 -4946643 21 585507148 22 -819450009 23 700393091 24 -382069257 27 687298238 28 -217201782 29 -213847359 30 -618012461 22 1 -1...
output:
29 27 29 29 28 29 27 28 29 28 29 27 29 27 29 27 29 29 29 29 29 29 29 29 28 28 29 27 29 29 28 29 28 29 29 27 26 29 26 29 28 29 29 29 29 28 27 29 29 29 27 29 29 29 27 29 27 29 28 26 27 27 29 28 29 28 26 29 28 29 27 29 29 29 29 29 28 29 27 29 29 29 28 29 28 29 27 27 28 27 28 29 29 29 29 28 29 29 29 29
result:
ok 100 numbers
Test #14:
score: 0
Accepted
time: 2030ms
memory: 10876kb
input:
100 21 1 230002188 2 183945321 3 651536456 4 -643918753 5 211711257 6 654169344 7 -36956799 10 -563182976 11 780329888 12 83318851 14 680921670 16 144574582 17 -412078292 20 59369731 22 191902719 23 -168624389 25 -230822751 26 162445773 28 529054626 29 349224830 30 60377140 21 1 -116191033 3 9358547...
output:
29 25 29 26 29 29 29 27 29 29 29 29 29 29 29 29 26 29 29 29 27 29 26 29 28 29 28 27 29 28 29 27 29 27 29 27 29 28 29 29 27 29 29 28 28 29 28 26 29 29 28 29 27 29 27 28 29 29 29 27 29 27 26 28 27 29 29 28 26 29 29 29 29 29 29 26 27 28 26 28 29 27 27 27 26 28 29 29 29 27 27 29 29 28 27 29 27 27 26 27
result:
ok 100 numbers
Test #15:
score: 0
Accepted
time: 1216ms
memory: 10792kb
input:
100 20 1 79862239 2 13563425 3 442926139 4 751723600 5 -388108679 6 340056379 7 265769938 8 264356154 9 -767173552 10 677960143 11 -417566533 12 -109239724 13 -217075453 14 -431467593 15 283334122 16 -184655006 17 -583644166 18 687896311 19 -428898891 20 -153559940 20 1 45135061 2 -402948599 3 -3068...
output:
19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19
result:
ok 100 numbers
Test #16:
score: 0
Accepted
time: 1217ms
memory: 10836kb
input:
100 19 1 -181371540 2 13240092 3 314423105 5 -394312316 6 -234691535 7 -361087288 8 -86290439 9 380662523 10 441658935 11 53438172 12 730947574 13 63208482 14 366463967 15 -421649955 16 777637605 17 885895472 18 825604443 19 -300184228 20 -242061244 19 1 -361908907 2 -299110845 3 680021944 4 9035898...
output:
19 19 19 19 18 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 18 19 19 18 19 18 19 19 19 19 19 18 18 19 19 19 19 19 19 19 19 19 19 19 19 19 18 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 18 19 19 19 19 18 19 19 19 19 19 18 19 19 19 18 19 19 19 18 19
result:
ok 100 numbers
Test #17:
score: 0
Accepted
time: 1153ms
memory: 10712kb
input:
100 18 1 -354653395 2 42066904 4 -68276768 5 -192085395 6 58560317 7 -207318090 8 537360505 9 40763183 10 156146366 11 -429382519 12 322008688 13 -28358871 14 609666646 15 -9538294 16 703168906 18 -72298640 19 477629958 20 -13376890 18 1 202247530 3 -69182766 4 318152992 5 -103746478 6 188766430 7 -...
output:
19 18 19 18 19 19 19 19 19 19 19 19 19 17 19 18 19 19 18 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 18 18 18 19 18 19 19 19 19 19 18 19 19 19 18 18 18 18 19 19 19 18 19 18 19 19 19 19 19 19 19 19 19 19 19 19 19 18 19 18 19 19 19 19 19 19 19 19 19 19 18 18 19 19 19 19 19 18 19 19 19 18 19 19 19 18
result:
ok 100 numbers
Test #18:
score: 0
Accepted
time: 1180ms
memory: 10796kb
input:
100 17 1 -520284730 2 -514466075 3 79886711 4 -425878138 5 180732260 6 55285306 8 345562838 9 90565947 10 -355737856 12 -707405720 13 -702604328 14 461805437 15 -617984149 16 315426606 17 98275951 19 301389112 20 17753554 17 2 257428766 3 -138011315 5 -57866095 6 465506635 7 550205616 8 439902409 9 ...
output:
19 17 19 18 18 18 18 18 19 19 19 19 18 19 19 18 19 19 19 18 19 19 19 19 19 19 18 19 18 19 19 19 19 18 19 19 19 19 18 19 19 18 19 19 18 17 19 19 19 19 19 18 19 18 19 19 19 19 19 19 19 17 19 19 19 19 19 19 19 19 19 18 19 18 18 18 19 19 19 19 18 19 19 16 18 18 17 19 19 19 18 18 19 18 19 19 19 17 19 18
result:
ok 100 numbers
Test #19:
score: 0
Accepted
time: 1202ms
memory: 10740kb
input:
100 16 1 -436119416 3 391185595 4 -435418162 7 -691793974 8 245585835 10 -371621633 11 210958524 12 569976178 13 768802725 14 -941519049 15 -343297444 16 511343513 17 196563299 18 -480863886 19 124725083 20 904182202 16 2 334944378 6 648051647 7 -765319693 8 -618274082 9 -103023609 10 -523171753 11 ...
output:
19 17 19 18 19 19 19 18 19 19 19 19 18 19 19 19 18 16 19 18 19 19 19 19 18 18 19 19 18 19 17 18 19 18 17 19 19 19 19 17 19 19 18 19 18 17 19 19 18 19 19 19 19 19 18 18 19 18 19 18 19 19 19 17 18 19 19 17 18 18 17 19 19 19 19 18 18 19 19 18 19 19 18 19 18 19 18 18 18 18 19 19 19 18 19 19 18 19 19 18
result:
ok 100 numbers
Test #20:
score: 0
Accepted
time: 1120ms
memory: 10720kb
input:
100 15 3 393201231 4 -473082363 5 288075459 6 -781304926 8 -344605578 9 -762599458 10 148398381 11 -74721014 12 30515839 15 135235819 16 249775138 17 10438875 18 380474650 19 -188178720 20 236686798 15 1 -288477317 2 127071531 4 -144735677 5 558661851 7 399284631 9 -222168762 10 161402510 12 4769221...
output:
17 19 18 19 19 19 18 17 19 19 19 17 18 19 19 19 19 18 19 19 18 18 18 18 18 16 18 19 18 18 19 19 18 19 19 17 17 19 19 16 19 18 19 17 19 18 18 17 18 19 19 19 18 19 19 18 19 19 18 18 18 19 17 18 18 18 19 18 18 19 19 19 18 19 19 18 19 19 19 18 19 18 19 17 19 19 18 19 19 19 17 18 18 17 18 19 19 18 17 19
result:
ok 100 numbers
Test #21:
score: 0
Accepted
time: 1144ms
memory: 10896kb
input:
100 14 1 -192276589 2 463022051 4 -80886076 6 217581726 7 60147874 9 910596718 10 835086587 11 271854523 12 42865965 14 -29751969 15 -113715891 18 -51572533 19 -473585126 20 -629221007 14 1 -11470255 2 81461908 4 -59304196 5 181367500 7 -159328723 9 237736152 10 -486771655 11 -395980960 14 657515062...
output:
19 19 19 19 19 17 18 19 18 18 18 18 18 18 19 19 18 17 16 19 17 18 19 18 19 18 19 16 18 18 18 17 17 17 19 19 19 19 18 17 19 17 18 17 19 17 16 18 18 19 19 18 19 18 19 16 18 16 17 18 17 19 18 19 17 17 19 18 17 19 19 18 19 19 17 17 19 19 18 18 19 19 18 18 19 18 18 17 18 17 17 18 17 19 19 19 18 17 18 18
result:
ok 100 numbers
Test #22:
score: 0
Accepted
time: 1685ms
memory: 10788kb
input:
100 13 1 -863121769 3 -233128926 4 -377235222 5 -673951134 6 4136818 7 405871550 9 -260407300 12 72841502 13 244040530 15 408164919 16 287387341 17 156191482 18 134237218 13 2 57325712 4 637332399 5 -101974089 6 126851796 11 -221389590 12 175998065 13 -566603004 14 142214875 15 -57895880 16 43406090...
output:
17 18 17 18 14 19 18 17 17 16 16 18 16 19 19 16 16 19 18 19 18 19 18 18 17 18 19 18 18 17 19 17 19 19 19 19 17 19 15 18 16 19 17 18 17 16 19 19 18 17 15 19 18 17 19 19 18 19 17 16 17 18 19 19 18 19 17 17 17 19 19 19 19 19 19 19 19 18 14 16 15 19 17 19 17 17 17 19 17 19 19 17 16 18 18 17 17 17 16 18
result:
ok 100 numbers
Test #23:
score: 0
Accepted
time: 1232ms
memory: 10732kb
input:
100 12 1 -446217998 7 -791225517 9 73408189 11 -106337857 15 -104940040 17 62436238 18 101915123 19 634463899 22 -682278321 24 173008410 25 13330045 28 177562882 12 4 242985533 10 -69256930 12 800744571 13 66071467 14 266447106 16 -617719069 17 -336076323 18 -352901627 19 -499160520 22 424949885 24 ...
output:
23 18 29 23 26 20 23 27 18 29 27 23 25 25 20 23 29 27 27 23 23 25 24 27 29 24 23 24 27 29 21 27 24 29 27 29 29 29 27 29 24 23 27 26 25 25 19 27 29 27 26 25 23 27 23 29 29 27 22 25 27 29 21 23 25 29 26 23 24 28 25 27 25 25 22 20 27 25 26 25 27 24 26 27 22 27 27 29 29 24 27 25 27 25 22 22 23 25 21 26
result:
ok 100 numbers
Test #24:
score: 0
Accepted
time: 1085ms
memory: 10732kb
input:
100 11 2 45805640 4 -646328719 5 207358977 6 -397475219 12 74326792 14 -720327036 17 589847619 22 131060182 23 139741592 26 2049141 27 -110705785 11 1 609352575 3 47393004 4 -79755028 5 40310136 6 606700068 7 741322213 9 -403282727 20 -189581978 21 46299345 25 457503077 27 -189306816 11 1 -127398323...
output:
23 23 28 20 29 27 23 19 27 25 19 19 23 26 26 25 27 25 23 23 27 25 25 26 25 25 25 26 24 27 26 27 27 27 27 20 27 19 25 25 27 25 29 23 26 26 18 29 25 23 25 29 25 26 27 24 21 25 27 27 27 27 27 25 26 29 25 27 29 19 29 23 23 27 27 29 19 25 25 23 26 27 27 26 20 27 26 24 29 25 26 19 27 19 23 27 26 27 26 23
result:
ok 100 numbers
Test #25:
score: 0
Accepted
time: 442ms
memory: 10812kb
input:
100 10 1 633115355 2 450712493 3 285295171 4 -385532314 5 652496399 6 -197131060 7 274136810 8 -279102761 9 -197551405 10 -79996669 10 1 274699787 2 1839534 3 -616047168 4 -60250745 5 671482314 6 -19034267 7 -9658461 8 257680210 9 -123879825 10 139494956 10 1 -701307197 2 256579741 3 113557351 4 433...
output:
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
result:
ok 100 numbers
Test #26:
score: 0
Accepted
time: 397ms
memory: 10792kb
input:
100 9 1 728379835 2 -179894775 3 611528078 4 485044306 6 504205256 7 182192378 8 144203830 9 -892220119 10 -286299806 9 1 -110850187 2 -772285945 3 -391731848 4 -221100604 5 -544170610 6 -639452338 7 -474574210 8 -91059748 9 429472121 9 1 680136596 2 -297180692 3 944231335 5 -301605604 6 -204530001 ...
output:
9 8 9 9 9 9 9 9 9 9 9 9 9 9 8 9 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 8 9 9 9 8 9 9 9 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 8 9 9 9 8 9 9 9 9 9 8 9 9 9 9 9 8 9 8
result:
ok 100 numbers
Test #27:
score: 0
Accepted
time: 378ms
memory: 10776kb
input:
100 8 1 433262671 2 -177226094 3 -299482632 4 -594522652 7 675141297 8 509392909 9 -94557217 10 150935951 8 1 -60909638 4 -467145889 5 -307071610 6 -489983289 7 -494257985 8 -50354259 9 403263924 10 -818438862 8 1 -74834113 4 -227317873 5 -287386154 6 303764118 7 -655359905 8 -181641738 9 257864068 ...
output:
9 9 9 9 8 9 9 8 8 8 9 9 9 8 9 9 8 9 8 9 9 9 8 8 9 8 7 9 9 9 8 8 9 8 9 8 8 9 9 9 7 9 9 9 9 8 7 9 9 9 8 8 8 7 9 9 8 8 9 8 9 8 9 9 9 9 9 9 8 9 9 8 9 7 8 9 8 8 9 9 8 9 8 8 9 7 9 8 9 9 7 9 9 8 9 9 7 9 8 9
result:
ok 100 numbers
Test #28:
score: 0
Accepted
time: 330ms
memory: 10856kb
input:
100 7 2 234118084 3 -171914649 4 -841368580 6 -358928487 7 180927843 9 179206045 10 97940031 7 1 -463450840 3 614314602 4 -374826072 6 -564715557 7 -882123950 8 186568552 9 396225969 7 1 -392028378 2 -27838941 3 90882795 5 -575965556 6 622941654 7 15727627 10 421398285 7 1 -537342592 2 588663331 4 4...
output:
8 8 7 8 8 8 8 8 9 9 7 9 9 8 7 7 7 9 8 7 8 8 7 7 7 8 6 9 8 9 8 9 8 9 8 9 9 7 8 8 8 9 9 8 8 9 7 8 6 8 6 8 8 8 9 7 8 7 8 8 8 8 8 6 9 8 9 7 6 8 8 6 7 8 8 8 7 8 8 8 6 8 8 8 9 8 8 8 7 9 8 8 9 7 9 9 8 6 7 9
result:
ok 100 numbers
Test #29:
score: 0
Accepted
time: 299ms
memory: 10788kb
input:
100 6 2 -120937772 3 -897148699 5 -148872697 7 -102018260 8 99135699 10 316400620 6 2 -46097849 4 781069288 6 12451101 7 -149152321 8 624219690 9 -105960199 6 1 408388313 2 514436151 4 -691925334 8 504906162 9 -283566735 10 -583359909 6 3 271350159 5 139711806 7 -647661236 8 612718061 9 773355312 10...
output:
7 7 9 7 9 6 8 8 7 9 8 8 6 5 9 7 9 8 8 9 9 8 8 8 8 6 7 6 7 9 8 8 9 8 7 8 7 9 7 8 8 7 7 7 6 9 7 6 7 7 7 9 5 8 9 8 9 9 6 8 9 8 9 9 7 7 8 6 7 7 8 7 9 8 6 5 9 8 6 6 7 8 9 7 8 9 9 7 7 9 8 6 5 7 7 7 9 6 8 8
result:
ok 100 numbers
Test #30:
score: 0
Accepted
time: 226ms
memory: 10812kb
input:
100 5 3 -93496046 6 111857442 7 -387403176 8 733170096 9 91109345 5 2 -118984592 3 217556872 5 72059003 7 126376151 8 -499055262 5 2 -246206876 3 215441126 4 278565864 7 266140384 10 116779517 5 2 -217614959 3 568957624 7 -488312248 8 192376450 9 650137267 5 3 18207344 6 541390272 7 -244525904 8 -12...
output:
5 6 8 7 5 5 7 8 7 6 9 7 7 8 8 8 5 7 6 6 5 6 7 9 8 9 9 6 7 9 5 7 9 6 5 7 8 4 5 7 7 7 5 5 8 5 5 6 9 9 4 9 8 7 9 4 8 5 7 7 7 8 8 6 9 5 8 7 8 5 8 4 8 9 7 8 9 6 9 5 6 6 9 7 6 6 7 8 7 8 6 6 6 6 8 9 8 6 7 7
result:
ok 100 numbers
Test #31:
score: 0
Accepted
time: 179ms
memory: 10740kb
input:
100 4 2 -304952651 3 -710501883 8 477116963 10 122649796 4 4 -536302329 6 -57293980 8 436061711 9 -650220628 4 2 265116524 3 162495298 4 193202159 5 476686168 4 3 -294782292 5 -706826530 8 168960428 10 -336787841 4 2 429140464 4 455196906 6 -821740802 7 -139969761 4 4 -173926139 5 212112354 8 535953...
output:
8 5 3 7 4 4 4 4 5 7 9 9 4 7 9 5 4 6 4 4 4 5 8 7 5 5 6 4 5 8 8 3 5 9 8 5 7 5 9 8 8 9 5 9 7 3 8 4 8 5 5 8 5 5 7 4 9 6 6 7 9 5 7 3 4 7 7 5 7 4 5 9 7 8 5 5 9 5 6 6 4 8 9 5 4 3 8 8 5 5 6 7 8 7 4 8 8 6 4 3
result:
ok 100 numbers
Test #32:
score: 0
Accepted
time: 123ms
memory: 10680kb
input:
100 3 1 -606484896 3 125774853 7 -732645055 3 2 -217514632 3 -537717835 5 26871335 3 2 84757268 7 -30514789 8 -506974437 3 2 -517178045 6 -449532575 8 -322554872 3 5 466248934 6 625727683 7 915022 3 4 -239647274 7 -406749369 9 -371909696 3 1 90723542 2 118974409 7 -399043834 3 4 374998086 5 -1070296...
output:
4 2 5 3 2 5 5 4 8 3 3 8 4 9 7 3 9 5 8 8 5 3 2 3 2 7 3 2 5 3 3 4 7 7 5 5 5 7 5 3 2 7 5 9 3 2 5 2 3 2 3 5 9 8 2 2 4 5 2 7 7 4 7 5 7 3 3 2 4 2 3 5 4 2 4 2 5 7 4 3 3 5 3 4 5 5 4 2 2 4 3 4 2 4 3 3 5 7 8 5
result:
ok 100 numbers
Test #33:
score: 0
Accepted
time: 58ms
memory: 10784kb
input:
100 2 3 259974188 9 58991735 2 3 362209411 9 -262214921 2 4 90671436 8 535752117 2 4 290981529 9 -221276206 2 2 71865637 6 -835647829 2 1 696910349 10 -94683993 2 2 -322545744 10 240102306 2 6 -375751317 9 -197849288 2 4 934581594 6 199316122 2 3 9995565 5 275863477 2 4 142258229 5 362126820 2 8 -88...
output:
2 1 4 1 2 9 4 3 1 1 1 1 1 1 1 7 2 2 2 2 3 7 3 3 3 1 3 1 3 5 1 4 1 7 1 1 5 5 9 5 1 7 3 1 5 7 3 7 2 2 3 3 1 3 5 1 1 1 1 1 2 2 2 1 2 5 1 2 3 3 3 1 1 5 1 1 1 3 5 1 2 1 2 5 5 7 1 2 3 1 4 1 1 8 1 5 2 1 1 2
result:
ok 100 numbers
Test #34:
score: 0
Accepted
time: 80ms
memory: 10668kb
input:
100 2 13 569677587 20 -595022368 2 11 -369654745 15 708891960 2 9 79611484 14 627484420 2 3 127645756 10 72773826 2 1 322092234 6 534632371 2 14 225641967 17 736551566 2 14 636896022 15 -124511940 2 6 -272276307 14 796797672 2 4 125238276 18 -517977412 2 5 137647535 20 85872625 2 6 263291425 20 4882...
output:
7 4 5 7 5 3 1 8 7 3 7 13 5 8 2 17 3 4 3 16 4 2 1 4 7 5 3 3 1 3 2 1 3 11 1 3 2 1 1 3 1 2 11 7 4 11 3 5 5 5 3 2 7 1 1 1 3 3 1 19 11 2 1 1 4 1 5 1 11 1 7 9 16 1 17 1 1 1 1 5 3 3 1 11 1 1 13 1 3 2 5 7 1 13 2 5 1 3 13 13
result:
ok 100 numbers
Test #35:
score: 0
Accepted
time: 17ms
memory: 10652kb
input:
100 1 10 181152734 1 7 139692265 1 2 60731566 1 5 35936420 1 9 129253759 1 8 166787994 1 9 -169342620 1 4 184893003 1 8 -158561318 1 4 -278586451 1 5 562446722 1 2 123128316 1 6 -71857827 1 2 -169908542 1 7 70815251 1 6 563956695 1 8 41099855 1 1 91824585 1 8 -28106440 1 8 -671869318 1 6 -493551643 ...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 100 numbers
Test #36:
score: 0
Accepted
time: 547ms
memory: 10624kb
input:
30 30 1 1 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 30 1 0 2 1 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 30 1 0 2 ...
output:
29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29
result:
ok 30 numbers
Test #37:
score: 0
Accepted
time: 595ms
memory: 10728kb
input:
100 10 1 74 5 1515 6 2932 7 5027 9 9424 10 8011 11 -2323 14 -242011 16 -984341 17 -1800138 10 1 3 4 166 5 318 8 -71 9 -1635 10 -4977 12 -16436 14 11704 15 109139 17 903615 10 1 55 2 83 3 69 4 26 5 7 6 82 7 279 12 1566 13 9270 18 328427 10 2 53 3 149 4 409 5 963 7 3576 8 5735 9 8113 11 10704 14 44319...
output:
13 13 13 12 13 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
result:
ok 100 numbers
Test #38:
score: 0
Accepted
time: 586ms
memory: 10764kb
input:
100 10 1 19 2 -24 3 21 6 1230 9 1822 10 -308 11 -6109 13 -41752 14 -75641 15 -106611 10 2 141 3 132 4 8 8 -5173 9 -8870 11 -10167 15 373826 18 1915095 19 2671334 20 3250770 10 1 -15 5 1097 7 5998 8 12363 11 78880 12 138022 16 1622235 17 3190959 18 6243541 19 12002082 10 1 36 4 9 5 233 9 11425 11 360...
output:
12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
result:
ok 100 numbers
Test #39:
score: 0
Accepted
time: 621ms
memory: 10680kb
input:
100 9 3 37 5 318 10 8150 11 11329 14 38372 16 411942 17 1285378 18 3644194 20 23148546 9 2 -138 6 -646 7 -172 8 1696 9 7114 11 52981 13 267186 16 2077505 20 23551670 9 3 -84 4 159 7 4299 8 7235 10 12873 12 12445 13 12483 16 201781 20 4020875 9 3 -96 4 -19 5 325 6 1279 8 8038 10 32364 15 691148 19 85...
output:
14 14 14 13 13 14 14 14 14 14 14 13 14 14 13 14 14 12 14 13 13 14 14 14 13 14 14 14 12 14 14 13 14 14 14 14 13 13 14 14 14 13 14 14 11 12 14 14 14 12 14 14 12 13 13 11 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 13 14 14 14 14 14 14 13 14 14 14 13 14 14 13 14 13 14 14 14 14 14 13 14 13 14 14
result:
ok 100 numbers
Test #40:
score: 0
Accepted
time: 631ms
memory: 10648kb
input:
100 8 2 97 4 490 8 9718 11 67987 12 138932 13 284520 19 12164957 20 19953922 8 1 -18 2 14 4 -115 5 -468 7 -1873 8 -2537 11 9590 17 1250896 8 3 145 5 -110 9 -13951 10 -24688 11 -38009 12 -48497 15 168147 16 535814 8 2 -131 4 -330 5 -371 8 1295 12 3083 14 -168630 15 -511932 16 -1303901 8 2 57 3 -19 10...
output:
12 13 13 13 13 13 14 11 13 13 14 14 13 14 13 10 15 9 12 13 12 11 13 13 15 14 14 15 12 15 14 15 15 14 13 14 14 13 14 14 13 11 15 15 15 14 15 13 13 13 13 14 13 13 13 14 14 13 12 12 15 13 11 14 14 14 13 13 11 12 14 13 15 13 15 14 12 14 12 14 14 14 14 15 14 14 14 13 14 12 13 15 14 15 14 14 14 14 13 15
result:
ok 100 numbers
Test #41:
score: 0
Accepted
time: 485ms
memory: 10716kb
input:
100 7 6 -1241 8 -4771 14 181155 15 426373 16 877440 17 1612613 18 2636493 7 2 -21 4 -81 14 94562 16 199479 17 274836 18 397869 19 717821 7 1 7 2 -2 3 -62 11 -20760 12 -10289 13 36976 20 10530605 7 4 -16 6 -645 8 -1814 11 8366 12 29501 13 79208 15 423398 7 2 102 7 3299 10 22962 14 100199 15 151565 17...
output:
10 13 12 11 14 14 12 12 14 13 14 14 13 13 13 13 12 7 14 13 13 13 14 13 14 14 13 13 14 13 13 12 14 12 14 14 14 12 14 10 11 13 13 14 14 13 14 13 11 14 14 13 13 10 14 13 13 13 14 14 13 10 12 11 14 13 14 13 11 11 14 13 14 11 14 13 14 14 10 13 14 13 13 9 11 14 13 13 13 12 12 12 14 14 11 14 12 13 12 14
result:
ok 100 numbers
Test #42:
score: 0
Accepted
time: 389ms
memory: 10740kb
input:
100 6 3 -157 4 -381 6 -1530 7 -2662 12 -21826 15 -51899 6 2 -111 3 -247 6 -533 8 3121 15 802432 16 1482963 6 3 99 4 125 8 -618 10 -4050 14 -56708 20 6765215 6 1 -63 2 -146 3 -206 6 585 9 5911 14 136646 6 9 -1755 14 -32332 15 -124665 16 -364652 18 -2060690 20 -8707536 6 4 -239 9 -5856 10 -5098 12 332...
output:
12 13 11 13 11 12 10 11 10 9 13 11 13 13 11 13 11 12 13 11 13 12 13 12 12 11 11 13 10 11 13 13 11 13 13 13 13 13 9 11 13 10 13 13 12 13 13 13 13 13 13 13 13 12 13 13 12 12 12 12 13 13 11 11 13 10 11 13 13 12 8 11 12 13 9 10 13 11 9 13 13 13 11 12 13 13 13 8 12 13 13 8 13 13 11 13 13 11 11 8
result:
ok 100 numbers
Test #43:
score: 0
Accepted
time: 289ms
memory: 10728kb
input:
100 5 2 70 9 5416 11 35650 16 1665380 18 5499564 5 6 -721 7 -632 9 4487 11 32094 16 893968 5 4 -241 9 190 13 110270 16 667499 17 912099 5 1 -91 4 475 12 55747 13 136930 18 5904315 5 4 114 6 161 8 -507 9 -2439 18 -5684016 5 3 293 4 693 13 277008 15 987017 16 1811973 5 2 -44 4 14 5 86 13 99680 18 -184...
output:
10 10 8 11 7 11 11 11 11 11 9 10 9 11 11 11 7 8 7 11 9 11 6 9 9 7 10 9 11 11 11 11 10 6 12 10 10 9 10 9 9 9 12 8 6 12 11 11 10 11 9 8 12 6 8 9 7 10 11 8 10 8 11 11 9 10 12 12 11 9 9 7 10 11 8 7 12 9 7 9 9 9 8 8 9 11 7 5 9 9 9 8 10 11 9 12 10 11 8 8
result:
ok 100 numbers
Test #44:
score: 0
Accepted
time: 239ms
memory: 10828kb
input:
100 4 6 1733 14 -249642 16 -1020129 19 -5408901 4 1 37 14 419912 15 826118 19 10463795 4 7 -2893 8 -6700 11 -51909 17 -1644853 4 10 -1549 12 -32403 14 -148151 20 5822861 4 1 -68 10 10622 13 27017 18 309944 4 3 -123 8 -785 16 -262584 19 3499051 4 4 138 15 -284269 18 -1168997 20 -3468102 4 4 6 5 203 1...
output:
13 13 6 5 9 13 11 13 13 7 11 6 11 13 11 13 6 7 14 8 7 13 8 9 10 9 11 13 13 10 8 11 5 9 5 13 9 13 11 13 9 11 11 7 11 7 11 13 11 7 5 11 5 10 9 9 8 8 9 8 13 8 5 11 11 13 8 13 11 11 11 11 9 13 4 8 14 9 11 13 13 9 12 7 7 11 13 8 11 11 8 9 8 13 8 5 11 5 7 5
result:
ok 100 numbers
Test #45:
score: 0
Accepted
time: 234ms
memory: 10788kb
input:
100 4 4 -19 10 12453 14 106892 17 1852977 4 10 24690 13 141216 16 484716 20 6167923 4 10 5078 11 6427 19 -3425784 20 -5133251 4 2 -91 9 -24690 11 -94249 16 -933493 4 4 -378 5 -559 15 -71008 20 7102626 4 2 183 14 -71995 15 -119941 16 -101581 4 4 -147 9 3883 15 1606319 20 52082765 4 4 125 13 128802 19...
output:
13 7 10 14 11 13 12 9 9 7 11 9 7 9 7 5 11 8 4 8 8 9 9 13 6 11 11 9 13 6 9 8 9 8 13 13 13 6 8 11 9 8 10 13 6 9 9 11 9 9 14 8 4 13 9 12 11 10 11 5 11 13 13 9 7 7 9 11 8 13 13 9 13 9 11 11 9 9 13 11 13 5 14 6 11 13 8 13 9 11 13 9 13 8 11 8 9 8 11 12
result:
ok 100 numbers
Test #46:
score: 0
Accepted
time: 242ms
memory: 10792kb
input:
100 4 2 -73 5 -125 10 -3957 19 -11158754 4 1 -46 2 -64 8 1064 20 2501760 4 3 -407 6 -203 13 -6504 16 200912 4 2 68 5 670 7 2956 13 136136 4 3 60 8 -1360 11 3207 19 12042223 4 9 5439 13 3922 18 1726090 20 8757572 4 1 42 2 -23 16 474042 18 3392902 4 5 -900 6 -1670 12 11863 13 61711 4 4 394 9 5354 11 2...
output:
9 9 13 11 16 11 16 8 13 7 5 16 11 14 9 9 9 8 11 9 8 11 11 14 3 9 7 11 8 16 11 16 16 9 13 16 16 9 8 9 11 9 3 16 8 11 9 6 9 11 7 8 13 8 13 16 7 7 5 7 11 14 7 6 13 8 11 9 5 9 11 8 11 8 10 16 16 11 3 10 16 7 13 8 11 11 13 11 9 7 5 5 10 8 13 7 7 16 13 10
result:
ok 100 numbers
Test #47:
score: 0
Accepted
time: 162ms
memory: 10740kb
input:
100 3 4 55 8 641 15 -432196 3 6 386 8 4095 20 5685863 3 4 844 8 5745 9 10213 3 1 54 9 -2749 14 46294 3 2 -123 8 -7463 16 560726 3 2 -207 6 -573 7 386 3 1 44 8 -645 11 -7466 3 1 -18 10 19731 20 -8045093 3 12 78109 13 201531 19 16180730 3 4 634 7 1935 17 -437392 3 3 -4 5 688 19 -118886 3 4 124 11 -205...
output:
11 4 5 13 8 5 7 5 7 13 8 7 3 9 13 8 4 9 4 9 10 7 9 9 7 7 5 7 5 8 16 8 5 11 16 11 7 8 2 7 3 9 9 11 4 7 13 5 9 6 6 5 5 5 8 5 13 5 14 7 5 7 8 3 11 7 4 5 7 17 5 8 2 11 11 17 13 11 11 4 5 4 11 11 13 11 17 7 9 11 5 17 16 6 11 8 11 2 11 7
result:
ok 100 numbers
Test #48:
score: 0
Accepted
time: 67ms
memory: 10720kb
input:
100 2 12 22295 17 4257940 2 7 1320 16 1966273 2 5 60 19 1089041 2 12 31655 16 341380 2 6 -1708 9 -95 2 11 58970 14 378770 2 6 -243 10 -9071 2 2 125 18 1846795 2 4 -453 12 -5600 2 16 226061 19 -1220488 2 5 -786 10 8504 2 1 7 2 -22 2 6 -444 12 11084 2 6 -592 12 59660 2 5 11 11 41697 2 8 4602 9 12717 2...
output:
1 9 7 4 3 1 1 8 8 1 1 1 3 1 3 1 4 1 5 8 1 7 8 5 3 5 1 13 8 1 1 4 3 7 1 1 4 5 2 2 8 1 3 13 5 1 1 3 11 1 5 1 1 3 11 8 7 2 1 1 4 1 5 17 1 3 16 9 1 7 5 13 2 3 1 7 7 11 7 3 4 1 2 3 2 1 4 9 3 1 8 3 2 2 3 1 8 9 2 1
result:
ok 100 numbers
Test #49:
score: 0
Accepted
time: 618ms
memory: 10832kb
input:
100 10 2 2 3 14 4 34 6 50 10 -1709 11 -4219 12 -10172 14 -54172 16 -240914 18 -866084 10 3 5 6 88 7 164 8 260 10 426 11 606 14 12501 15 31985 16 73001 20 876287 10 1 -1 2 -1 4 -26 5 -63 8 -365 10 -1342 11 -2801 16 -124858 17 -275859 19 -1297339 10 1 2 2 9 5 68 11 1321 12 2880 13 6436 14 13692 15 269...
output:
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
result:
ok 100 numbers
Test #50:
score: 0
Accepted
time: 600ms
memory: 10716kb
input:
100 10 1 2 3 8 5 53 6 128 8 548 11 1727 12 2014 15 20582 18 435865 20 2187415 10 3 0 4 5 5 8 6 -19 7 -145 12 -14294 13 -26099 16 -96499 17 -115357 20 358343 10 1 -4 5 9 7 -66 8 -206 9 -551 11 -3162 13 -14735 15 -59096 18 -376588 20 -1108901 10 1 -4 2 -4 3 -3 5 -37 7 -159 8 -185 12 5562 14 27257 17 2...
output:
12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 11 12 12 12 12 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
result:
ok 100 numbers
Test #51:
score: 0
Accepted
time: 314ms
memory: 10832kb
input:
100 14 1 11 2 35 3 20 4 -69 5 -232 6 -373 7 -224 10 5802 11 7968 12 3432 14 -89520 15 -246744 17 -1155197 18 -2187651 14 1 21 2 1 4 -302 6 -867 8 -791 9 543 10 4126 11 12065 14 114148 15 212317 16 380492 18 1115935 19 1837463 20 2955528 14 1 58 3 -216 6 -2618 7 -4884 8 -8726 10 -25387 11 -41694 12 -...
output:
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
result:
ok 100 numbers
Test #52:
score: 0
Accepted
time: 279ms
memory: 10672kb
input:
100 15 1 39 2 -65 5 -1481 6 -2804 8 -9975 9 -19164 10 -36678 11 -68882 12 -125724 13 -222078 15 -627575 16 -1007420 17 -1573131 19 -3564999 20 -5196347 15 1 0 2 10 3 6 4 24 5 136 6 461 7 1174 9 4633 10 7689 12 15213 15 1817 16 -28607 17 -88298 19 -366204 20 -635930 15 1 117 2 132 5 -57 6 -226 7 -460...
output:
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
result:
ok 100 numbers
Test #53:
score: 0
Accepted
time: 201ms
memory: 10832kb
input:
100 14 1 97 2 95 3 11 4 -121 5 -204 8 2646 9 6599 10 13837 13 76226 15 186593 16 278536 17 405453 18 577451 19 806779 14 1 -39 2 18 3 85 4 71 8 -1088 9 397 11 17565 13 85499 14 159068 15 276281 16 455202 18 1096546 19 1623909 20 2344827 14 1 -48 2 -71 3 -53 6 505 7 1216 8 2494 9 4480 11 10093 12 124...
output:
7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok 100 numbers
Test #54:
score: 0
Accepted
time: 159ms
memory: 10852kb
input:
100 13 4 284 5 514 7 1493 8 2622 9 4633 10 8064 11 13647 12 22340 13 35360 15 80749 16 117158 18 230458 20 420444 13 1 -80 2 -105 3 -157 4 -352 5 -916 6 -2234 7 -4898 8 -9754 10 -30971 11 -50703 17 -474904 19 -837185 20 -1086576 13 1 58 2 35 3 -103 4 -422 6 -1854 7 -3046 13 -11108 14 -9640 15 -5724 ...
output:
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
result:
ok 100 numbers
Test #55:
score: 0
Accepted
time: 119ms
memory: 10900kb
input:
100 12 1 13 2 62 5 481 6 559 9 -1163 10 -3068 11 -6070 12 -10481 15 -35792 16 -49624 18 -88166 19 -113906 12 1 58 2 167 3 307 4 505 10 13243 11 20525 12 30649 13 44299 14 62237 15 85304 16 114421 19 248503 12 1 -70 3 -328 4 -419 6 -299 7 18 9 1482 11 4572 12 6959 13 10054 15 18886 18 41070 20 64017 ...
output:
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
result:
ok 100 numbers
Test #56:
score: 0
Accepted
time: 84ms
memory: 10832kb
input:
100 14 1 30 2 94 4 441 6 1065 9 2516 10 3144 11 3850 12 4639 13 5517 14 6491 16 8760 18 11522 19 13116 20 14869 14 1 58 2 206 4 878 6 2363 8 5049 9 6968 10 9340 11 12218 13 19709 14 24433 15 29885 17 43206 18 51194 19 60148 14 2 -167 4 -376 6 -568 8 -675 9 -671 10 -613 12 -282 13 20 14 434 15 977 17...
output:
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
result:
ok 100 numbers
Test #57:
score: 0
Accepted
time: 81ms
memory: 10720kb
input:
100 15 1 -33 2 15 3 97 4 167 5 180 6 92 7 -140 8 -558 10 -2115 12 -4895 13 -6838 14 -9198 15 -12010 17 -19125 20 -34005 15 1 -26 2 14 3 28 5 -105 6 -291 8 -992 9 -1540 12 -4151 13 -5387 14 -6825 16 -10346 17 -12446 18 -14782 19 -17360 20 -20185 15 2 -66 3 -276 5 -1365 6 -2369 9 -7948 10 -10860 11 -1...
output:
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
result:
ok 100 numbers
Test #58:
score: 0
Accepted
time: 91ms
memory: 10672kb
input:
100 16 1 2 2 -13 3 -37 4 -63 5 -83 6 -88 7 -68 8 -12 9 92 11 497 13 1263 15 2522 16 3382 17 4422 19 7127 20 8837 16 1 29 2 29 3 -33 5 -446 7 -1406 8 -2148 9 -3093 10 -4261 11 -5671 13 -9288 14 -11528 15 -14076 16 -16946 17 -20151 19 -27613 20 -31891 16 1 -168 2 -233 4 -164 5 45 6 422 8 1841 9 2966 1...
output:
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
result:
ok 100 numbers
Test #59:
score: 0
Accepted
time: 58ms
memory: 10736kb
input:
100 17 1 31 2 -7 3 -49 4 -94 5 -141 6 -189 7 -237 9 -329 10 -371 11 -409 12 -442 13 -469 14 -489 15 -501 17 -497 18 -479 19 -449 17 1 -14 2 -14 3 26 4 107 6 396 7 606 8 861 9 1162 10 1510 11 1906 13 2846 15 3990 16 4641 17 5346 18 6106 19 6922 20 7795 17 1 99 3 104 4 52 5 -35 6 -156 7 -310 8 -496 9 ...
output:
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
result:
ok 100 numbers
Test #60:
score: 0
Accepted
time: 46ms
memory: 10708kb
input:
100 19 1 48 2 68 3 89 4 111 6 158 7 183 8 209 9 236 10 264 11 293 12 323 13 354 14 386 15 419 16 453 17 488 18 524 19 561 20 599 19 1 51 2 114 3 178 4 243 5 309 6 376 7 444 8 513 9 583 10 654 12 799 13 873 14 948 15 1024 16 1101 17 1179 18 1258 19 1338 20 1419 19 1 -20 2 -56 3 -91 4 -125 5 -158 6 -1...
output:
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
result:
ok 100 numbers
Test #61:
score: 0
Accepted
time: 394ms
memory: 10796kb
input:
100 13 1 -6 2 20 5 -227 6 -992 7 -2830 12 -91229 13 -166487 14 -300800 15 -535879 17 -1603802 18 -2680736 19 -4374335 20 -6970726 13 2 -53 5 -288 7 -2042 8 -5640 9 -13544 10 -28665 11 -54738 13 -158739 15 -377066 17 -821407 18 -1212317 19 -1812236 20 -2754766 13 2 124 4 140 5 59 6 -81 7 -208 9 1084 ...
output:
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
result:
ok 100 numbers
Test #62:
score: 0
Accepted
time: 381ms
memory: 10792kb
input:
100 12 2 155 3 306 6 1935 8 4596 9 5794 10 5047 12 -21260 14 -163759 17 -1197516 18 -2055781 19 -3385956 20 -5384767 12 2 145 3 286 5 954 8 7250 10 14270 11 9729 12 -16625 13 -94620 14 -281215 15 -678533 17 -2911256 18 -5477649 12 1 -78 3 -241 4 -236 5 -51 6 533 7 1916 10 17851 12 43658 14 58994 15 ...
output:
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
result:
ok 100 numbers
Test #63:
score: 0
Accepted
time: 503ms
memory: 10744kb
input:
100 9 4 2 6 3 7 8 11 320 13 1794 14 4279 16 22013 18 93060 26 7746517 9 2 1 12 -869 13 -2211 14 -4992 19 -124830 20 -217664 21 -371525 23 -993025 26 -2795600 9 7 0 9 56 11 66 13 -768 20 -100471 22 -71137 25 2300530 27 12496056 29 51239230 9 3 0 11 297 14 1445 15 1342 16 -646 22 96140 26 13626810 27 ...
output:
14 14 14 14 14 14 13 14 14 14 14 14 14 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 12 14 14 12 14 14 12 14 14 14 14 14 14 14 14 14 12 14 14 14 13 14 14 14 14 13 14 14 14 14 14 13 14 14 14 14 13 14 13 14 14 14 14 14 14 14 14 14 14 14 14 13 14 14 14 14 14 14 14 14 14 14 14 12 14 14 14 14 14
result:
ok 100 numbers
Test #64:
score: 0
Accepted
time: 480ms
memory: 10724kb
input:
100 8 3 5 5 22 6 43 7 84 19 287319 21 1158204 26 29437981 27 54204502 8 5 -9 14 -4003 17 -12256 18 -12257 22 586015 24 3658403 28 74487078 30 274256161 8 1 1 3 1 5 2 14 3914 15 5553 18 4523 23 -400291 26 551656 8 2 0 10 -397 17 -56168 24 -5766767 27 -26453910 28 -39727740 29 -55541235 30 -69996111 8...
output:
14 14 14 14 14 14 14 14 14 14 14 15 15 13 14 13 13 14 13 14 15 14 15 15 14 12 14 15 14 15 13 15 13 13 14 15 14 14 15 13 12 15 15 14 15 14 11 13 14 13 14 15 13 14 15 15 14 14 15 13 13 14 13 14 14 15 13 14 14 15 12 13 14 15 15 14 15 15 13 13 15 14 14 14 12 13 14 13 15 13 14 14 12 13 14 13 15 15 15 14
result:
ok 100 numbers
Test #65:
score: 0
Accepted
time: 396ms
memory: 10740kb
input:
100 7 1 0 2 1 8 54 17 -50304 25 -6226536 26 -10367685 28 -25724943 7 4 -7 7 -7 14 -2666 21 -334023 22 -477114 24 -493857 27 6793227 7 3 -3 10 -7 14 4341 15 9697 16 20422 18 80052 25 4920020 7 2 1 11 704 13 3095 17 49878 22 2055119 25 17118855 27 62546826 7 1 -2 6 5 10 295 11 625 19 20329 22 -141287 ...
output:
13 14 13 12 14 14 11 14 14 13 14 12 14 14 14 14 14 14 14 11 14 13 13 14 14 13 14 13 12 13 14 14 14 14 13 14 14 11 14 14 14 14 14 14 14 13 13 14 11 14 13 13 14 12 13 13 12 12 12 14 14 13 13 13 11 14 14 14 13 13 13 13 13 13 13 14 14 13 13 13 12 14 13 14 13 13 13 14 14 14 13 14 14 13 13 14 14 14 14 14
result:
ok 100 numbers
Test #66:
score: 0
Accepted
time: 353ms
memory: 10740kb
input:
100 6 5 7 6 18 7 50 17 21897 29 134941409 30 231595422 6 3 -1 9 -346 13 -5096 22 -1282691 29 -23538982 30 -27977287 6 5 9 13 -1273 14 -532 21 1038009 22 2068552 29 126189991 6 4 5 6 27 9 234 11 637 27 25834617 30 155612841 6 4 7 6 35 10 176 11 45 18 -41973 26 12008050 6 3 -1 4 0 9 160 18 -5169 29 59...
output:
13 13 12 13 11 13 10 11 12 13 13 11 10 13 13 13 13 13 13 13 10 13 13 13 13 13 13 13 12 13 13 11 13 13 13 13 13 11 12 13 13 9 12 11 13 13 13 13 9 13 8 13 11 13 7 13 12 13 11 12 13 13 12 13 13 11 11 10 13 13 12 13 12 13 12 12 10 13 11 13 13 13 11 11 13 13 13 13 13 12 9 13 11 12 13 13 13 12 13 12
result:
ok 100 numbers
Test #67:
score: 0
Accepted
time: 238ms
memory: 10780kb
input:
100 5 1 0 6 -31 17 41598 18 88519 28 29761161 5 3 -1 6 -29 17 5389 18 22475 28 34216924 5 6 6 19 -179758 23 -1121042 24 -1527337 28 598273 5 1 0 12 -2276 16 -30618 18 -75735 30 78010290 5 4 6 8 118 9 167 20 113222 27 14381446 5 13 -3081 14 -6657 16 -26434 18 -81737 30 66194239 5 15 15221 17 57935 23...
output:
12 12 11 11 11 7 8 8 9 10 12 10 11 11 11 9 11 11 11 11 10 9 12 10 11 10 10 12 10 9 11 11 5 11 12 9 11 10 11 12 11 9 11 10 9 11 11 8 11 12 9 8 6 10 10 8 11 8 12 9 12 12 11 9 11 11 11 11 10 7 9 9 12 12 11 10 11 6 11 12 9 11 12 11 11 11 11 9 10 6 7 8 8 11 9 10 9 12 11 11
result:
ok 100 numbers
Test #68:
score: 0
Accepted
time: 202ms
memory: 10708kb
input:
100 4 13 3327 22 1754029 25 11147850 28 61874896 4 9 -40 13 -2211 22 -420256 29 25093235 4 8 -51 11 -44 18 -6648 27 35500518 4 4 5 7 -30 21 123255 30 205541908 4 1 -1 5 14 22 1545994 30 190396454 4 7 -7 9 -162 10 -429 29 117383794 4 5 -13 20 7885 27 14162059 30 109284267 4 1 0 13 1652 24 4505010 26 ...
output:
9 13 8 13 7 11 11 13 9 13 12 8 5 9 11 13 9 9 6 13 9 6 11 11 13 10 13 14 6 13 8 5 13 11 13 13 13 7 13 9 12 7 11 12 13 7 13 10 9 9 10 9 8 10 11 13 11 12 9 13 13 9 7 13 8 3 8 9 11 11 7 11 9 6 12 13 14 11 13 12 11 9 14 11 13 11 13 10 9 9 11 13 13 9 13 5 11 14 9 7
result:
ok 100 numbers
Test #69:
score: 0
Accepted
time: 199ms
memory: 10744kb
input:
100 4 10 141 13 2144 17 17458 26 1625155 4 17 -17952 20 -129352 29 135091164 30 270499240 4 6 9 14 -4303 22 353741 28 58387644 4 8 36 16 17780 17 31331 26 11080966 4 10 75 11 67 15 -3609 19 -23731 4 1 0 5 -4 7 14 20 154223 4 11 396 12 637 22 -1545555 29 -3907170 4 4 7 11 -428 14 -2612 16 -6947 4 11 ...
output:
8 13 12 9 9 13 7 7 11 10 11 6 13 11 5 11 9 7 5 8 15 13 8 13 11 11 9 11 11 11 13 7 9 8 9 9 8 14 13 11 7 11 6 13 11 11 13 13 14 9 11 13 13 7 11 7 10 7 13 11 11 9 13 5 13 13 11 8 5 9 11 5 13 9 8 13 14 6 11 13 7 6 12 9 10 13 11 8 11 13 13 8 5 11 13 13 10 11 10 3
result:
ok 100 numbers
Test #70:
score: 0
Accepted
time: 262ms
memory: 10828kb
input:
100 4 4 -7 8 -82 16 15496 18 30770 4 2 0 5 -4 16 -4627 21 31483 4 5 -11 8 -78 25 -145615 26 166424 4 3 -1 5 -9 19 51528 23 2719313 4 2 0 6 23 12 -1299 28 35633522 4 9 35 11 53 24 -1106646 29 33267030 4 8 27 11 -13 20 -473842 28 -32201311 4 10 383 16 26690 21 247419 22 271492 4 5 -4 18 -46799 22 -892...
output:
7 16 9 16 16 13 8 11 13 11 16 13 9 13 9 9 16 4 11 7 16 16 13 11 13 16 16 9 8 6 11 13 9 8 11 9 11 16 10 7 13 13 13 10 13 16 16 11 13 13 16 13 16 11 16 9 11 11 8 13 13 7 10 16 16 11 11 16 9 16 9 5 16 9 10 16 11 11 10 13 13 13 8 8 12 13 16 9 13 8 16 16 14 7 9 13 14 13 12 8
result:
ok 100 numbers
Test #71:
score: 0
Accepted
time: 136ms
memory: 10712kb
input:
100 3 18 75772 19 158613 21 714098 3 13 -3497 17 -46240 19 -117383 3 11 154 26 6453889 30 115466631 3 9 -44 11 64 17 -47821 3 11 275 13 1586 17 18633 3 15 -11439 16 -28053 17 -62541 3 7 -62 20 -51034 23 -607453 3 5 1 15 1338 18 -84266 3 9 273 16 23801 23 -91103 3 3 2 16 13277 18 59621 3 9 87 20 4464...
output:
3 4 2 8 4 2 16 13 8 13 11 7 11 7 7 11 13 8 6 11 8 5 7 10 6 8 5 9 11 5 8 9 5 5 17 5 9 7 9 17 7 4 7 13 13 9 13 3 5 11 5 2 5 7 5 3 8 7 4 17 9 7 12 8 9 13 7 5 13 11 4 5 2 16 4 11 5 7 16 9 8 9 9 6 4 7 4 2 4 13 9 11 8 9 7 4 5 11 3 8
result:
ok 100 numbers
Test #72:
score: 0
Accepted
time: 64ms
memory: 10724kb
input:
100 2 1 -1 25 -11348985 2 7 -1 22 -1219535 2 25 4263164 27 33758204 2 11 -979 15 -18538 2 4 1 10 36 2 12 -43 26 -22525024 2 13 0 28 44490672 2 16 15082 24 2643391 2 15 -16965 25 -3209650 2 23 2449868 24 6030118 2 6 -15 24 -5210948 2 2 -1 20 -239171 2 20 492975 29 61575961 2 7 34 10 -77 2 8 0 25 1711...
output:
3 5 1 4 3 7 5 8 2 1 9 9 9 1 17 11 1 13 3 5 1 3 4 13 3 1 1 3 1 1 19 1 5 5 3 1 19 3 11 2 2 8 1 7 1 4 3 2 1 1 5 1 17 1 8 3 1 4 4 5 2 4 9 1 1 3 4 13 1 1 1 1 16 2 7 1 4 5 5 4 2 19 5 2 4 1 2 1 1 1 1 7 2 3 5 13 2 1 2 1
result:
ok 100 numbers
Test #73:
score: -100
Wrong Answer
time: 229ms
memory: 10744kb
input:
100 14 1 0 6 22 7 63 9 346 15 20813 17 69564 18 122570 19 210596 20 353039 23 1450955 24 2230701 26 4997785 27 7301190 29 14924676 14 3 -7 5 -10 8 89 11 780 14 4899 15 9252 16 17491 18 60076 19 107691 20 188098 23 859417 25 2108429 26 3204928 30 14476595 14 1 0 2 0 4 -4 8 -8 10 22 14 208 15 1118 16 ...
output:
12 9 9 9 10 9 9 14 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 11 9 9 14 9 9 9 9 9 9 9 9 9 9 9 9 9 9 10 9 9 9 9 9 9 9 9 9 9 9 14 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 11 9 9 9 9 9 9 9 9 9 9 13 9 14 9 9 9 10 9 9 9 9 9 14 9
result:
wrong answer 1st numbers differ - expected: '9', found: '12'