QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#842789 | #9960. Baggage | ucup-team6139# | AC ✓ | 346ms | 7556kb | C++14 | 1.2kb | 2025-01-04 14:49:03 | 2025-01-04 14:49:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 5652kb
input:
5 7 1 2 500 2 2 3 100 1 3 5 20 2 5 4 5 1 4 2 1 0 3 4 40 2 5 4 77 1
output:
0 500 726 751 746 -1 0 226 251 246 -1 -1 0 40 20 -1 -1 -1 0 -1 -1 -1 -1 131 0
result:
ok 25 numbers
Test #2:
score: 0
Accepted
time: 0ms
memory: 5880kb
input:
30 5000 1 15 15034 0 1 15 15034 0 24 28 14745 2 1 15 15034 0 16 25 13210 0 16 22 26942 0 24 20 5423 1 4 12 636 0 16 12 19327 0 1 15 15034 0 1 15 15034 0 3 28 18940 2 1 15 15034 0 15 9 6468 0 20 3 6233 2 19 4 10829 2 1 15 15034 0 26 6 20998 0 1 15 15034 0 1 15 15034 0 1 15 15034 0 4 14 20515 2 1 15 1...
output:
0 868 1159 2449 3001 1108 1557 3972 596 1521 3923 1332 3230 871 2010 2145 1610 783 2009 1490 2120 3440 2627 4515 228 958 2630 4394 3681 2618 2534 0 291 3106 3753 3127 4053 4838 3130 2387 4580 464 4486 1719 2784 2818 2476 3317 2343 777 2777 3121 1759 5381 2762 1354 5164 6928 3603 3370 2243 3111 0 2...
result:
ok 900 numbers
Test #3:
score: 0
Accepted
time: 0ms
memory: 5824kb
input:
30 5000 30 9 1929 2 14 1 270 1 3 4 709 0 13 8 14 0 23 16 423 0 18 12 14 0 11 28 658 0 19 3 6793 1 16 25 9438 0 1 15 25 0 5 26 3 1 14 18 11 2 13 19 131 1 14 1 441 0 7 14 16 1 6 3 4624 1 29 5 639 1 2 16 66 1 3 27 770 2 4 21 9 1 11 22 22681 0 15 20 3380 0 21 14 1 0 18 26 3 0 14 16 60 1 30 18 8284 1 12 ...
output:
0 3 8 4 4 6 3 5 5 7 3 15 4 5 9 11 5 4 9 3 8 6 5 6 4 4 5 9 2 4 6 0 8 4 8 9 7 3 6 8 7 12 8 8 13 12 8 8 13 7 11 9 9 7 8 8 5 10 6 8 7 9 0 8 1 4 7 6 6 6 5 13 11 3 6 9 4 3 10 4 7 4 4 7 5 5 9 7 9 6 7 7 7 0 4 6 3 5 4 7 3 15 4 5 9 8 5 5 9 4 7 6 5 3 4 5 1 6 2 4 10 8 5 9 0 3 11 11 11 11 10 18 12 8 11 9 9 8...
result:
ok 900 numbers
Test #4:
score: 0
Accepted
time: 2ms
memory: 5856kb
input:
30 5000 25 18 30000 0 10 17 29987 1 10 17 29987 1 10 17 29987 1 10 17 29987 1 10 17 29987 0 27 23 26494 1 10 17 29987 0 10 17 29987 0 25 18 30000 0 25 18 30000 0 10 17 29987 0 25 18 30000 0 10 17 29987 0 5 19 29447 1 10 17 29987 1 10 17 29987 0 10 17 29987 1 10 17 29987 0 10 17 29987 0 5 27 29658 0 ...
output:
0 36060 30000 33186 30484 21948 47316 32912 49004 33187 51932 39740 29995 33186 22914 51948 47860 32846 28861 41502 29921 29752 51698 29544 20571 3187 29894 49129 28597 50559 46239 0 29986 29999 27920 35457 19997 29997 52925 46696 46671 36825 33191 43503 49029 16716 51056 46355 18871 29833 46145 26...
result:
ok 900 numbers
Test #5:
score: 0
Accepted
time: 1ms
memory: 5888kb
input:
30 2610 3 20 5637 2 18 29 12579 1 21 8 2321 1 29 19 5569 1 18 9 4241 0 8 30 4854 2 26 25 2044 0 24 16 2735 1 15 22 10162 2 3 22 8632 1 15 2 5624 2 13 11 10791 2 6 12 956 2 19 4 1604 1 6 23 4864 0 5 11 3258 1 13 5 209 1 1 25 15792 1 7 17 2018 1 5 12 3274 0 30 12 12854 1 1 13 11766 2 13 20 4031 1 13 1...
output:
0 596 683 173 89 374 215 336 68 321 103 247 135 170 440 1226 921 324 406 886 69 259 526 90 395 614 712 235 451 636 781 0 763 448 330 711 456 110 413 597 448 592 159 411 616 1546 901 771 308 1161 414 283 767 331 636 739 953 450 622 877 121 717 0 294 210 495 336 451 189 442 224 368 256 291 561 1347 ...
result:
ok 900 numbers
Test #6:
score: 0
Accepted
time: 2ms
memory: 5884kb
input:
30 5000 23 1 120577749 0 23 1 932974878 2 23 1 496789200 0 23 1 387748955 0 23 1 65652724 2 23 1 357942661 2 27 26 26637 1 23 1 322699534 1 23 1 380812839 2 23 1 953517727 2 23 1 749461966 1 10 15 28782 2 23 1 928219419 2 23 1 710721749 2 8 15 18680 1 23 1 892884272 1 23 1 286930033 1 23 1 218608754...
output:
0 27320 24887 26618 42869 21776 48355 33767 24719 42203 43789 28450 29649 45609 36687 27601 41308 29758 43974 49891 37258 23888 26839 36717 29133 43599 43773 25044 34014 19905 44931 0 44262 27639 40476 24628 28243 27005 23206 24976 25906 29578 20816 20297 28743 25208 29929 36582 29084 30428 39611 2...
result:
ok 900 numbers
Test #7:
score: 0
Accepted
time: 2ms
memory: 5784kb
input:
30 5000 29 20 714766588 0 2 7 117691629 2 30 7 986874209 0 24 20 59391779 0 14 11 910689121 1 27 21 674552800 0 13 2 19137 1 29 27 575469961 0 20 16 997757597 1 10 14 894507242 0 22 25 371074859 1 27 4 148067345 1 16 1 75228920 2 17 4 62090300 1 2 24 4378 0 24 27 513864617 1 10 3 51701509 1 10 12 86...
output:
0 26 37 43 54 77 989 26 1179 46 79 2308 39 736 1328 1176 58 726 54 695 5052 26 1185 21 207 5 430 52 5552 51 716 0 753 759 770 793 1705 742 1895 762 795 3024 755 1452 2044 1892 774 1442 770 1411 5768 742 1901 737 923 721 1146 768 6268 767 755 39 0 6 36 42 952 6 1159 28 61 3063 2 984 1304 1156 40 97...
result:
ok 900 numbers
Test #8:
score: 0
Accepted
time: 1ms
memory: 5936kb
input:
30 5000 18 19 411628368 0 18 19 992076423 0 18 19 982786362 1 18 19 869144808 0 18 19 604720156 1 18 19 150564302 1 18 19 976935570 0 18 19 969698875 1 18 19 704977028 0 18 19 763570567 0 18 19 595200455 1 18 19 90807561 1 18 19 108104079 0 18 19 480474814 0 18 19 309125116 1 18 19 363086156 0 18 19...
output:
0 20024 51335 65397 86394 93878 158429 187393 224779 249597 272512 298527 363157 369316 421368 437257 473456 489365 553804 566015 629870 655713 672117 688654 750372 764687 803012 815477 879905 897017 926822 0 31311 45373 66370 73854 138405 167369 204755 229573 252488 278503 343133 349292 401344 417...
result:
ok 900 numbers
Test #9:
score: 0
Accepted
time: 1ms
memory: 5792kb
input:
30 59 11 25 4982 0 1 16 26498 1 26 27 4960 1 27 28 29446 1 19 4 14770 0 12 26 5084 0 8 22 23140 0 9 23 16857 0 1 2 11246 1 30 15 1948 0 23 8 29970 0 27 12 13101 0 4 5 17481 1 15 29 29113 0 25 26 11246 1 6 7 4354 1 29 14 25845 0 28 13 21802 0 25 10 6407 0 3 4 29446 1 16 17 26602 1 8 9 18521 1 13 27 1...
output:
0 62004 168048 257690 310001 384929 417726 496176 580045 640010 681867 768366 819883 912971 977849 68399 171414 252577 298028 364021 421921 497038 585110 648001 700797 756690 784795 880035 957324 1003327 -1 0 106044 195686 247997 322925 355722 434172 518041 578006 619863 706362 757879 850967 915845...
result:
ok 900 numbers
Test #10:
score: 0
Accepted
time: 1ms
memory: 5892kb
input:
30 5000 12 13 22419 1 12 13 22419 1 12 13 22419 0 12 13 22419 1 12 13 22419 1 12 13 22419 0 12 13 22419 1 12 13 22419 0 12 13 22419 0 12 13 22419 0 12 13 22419 1 12 13 22419 0 12 13 22419 0 12 13 22419 1 12 13 22419 0 12 13 22419 0 12 13 22419 0 12 13 22419 0 12 13 22419 1 12 13 22419 0 12 13 22419 ...
output:
0 29478 4846 33196 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 5128 0 9974 38324 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 29760 24632 0 28350 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 19989 ...
result:
ok 900 numbers
Test #11:
score: 0
Accepted
time: 1ms
memory: 5948kb
input:
30 5000 1 11 13580 1 13 14 21946 1 12 17 22413 0 9 22 3001 0 3 16 27849 1 2 19 19009 0 2 3 14653 1 9 16 25268 1 15 25 2993 1 17 22 22455 0 26 27 28609 0 4 12 22088 1 4 16 11645 0 16 20 24240 0 2 12 22423 1 9 28 28461 0 8 12 14823 1 25 28 14704 1 19 24 23575 0 5 18 18026 1 12 20 20538 0 9 10 23178 1 ...
output:
0 -1 22477 -1 -1 48625 -1 64951 -1 -1 -1 37184 -1 29010 45845 -1 -1 -1 -1 -1 41930 24312 -1 -1 -1 27767 -1 69989 -1 47047 -1 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 26148 -1 42474 -1 -1 -1 14707 -1 14653 31488 -1 -1 -1 -1 -1 19453 1835 -1...
result:
ok 900 numbers
Test #12:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
1 0
output:
0
result:
ok 1 number(s): "0"
Test #13:
score: 0
Accepted
time: 301ms
memory: 7472kb
input:
400 500000 336 348 802030063 2 82 373 667752535 0 214 115 112164722 0 7 174 132533750 2 153 232 17020830 2 49 156 405656680 1 82 373 667752535 0 43 264 877333994 0 147 120 677084003 1 24 393 457667285 0 32 146 951980666 0 187 101 59701810 1 180 342 615222577 0 87 159 104951976 0 143 296 231691040 1 ...
output:
0 5875394 4723080 8278770 6834673 7383747 9201040 10729413 7430253 8210272 5126011 6259781 7980758 8356264 6761397 9438097 11184788 6836701 5623725 8069623 7912567 8977072 7448257 5719598 7164663 8767311 7823696 6618622 12331950 11766543 9888577 10633584 9155094 9495592 4486586 9129564 10743453 8174...
result:
ok 160000 numbers
Test #14:
score: 0
Accepted
time: 253ms
memory: 7480kb
input:
400 239400 109 106 959511485 2 234 26 954829574 1 232 119 401060765 0 319 204 812696593 2 193 196 113420702 2 260 150 742321021 2 41 220 651091672 0 55 248 904498950 0 21 385 902907375 1 90 135 198760196 2 272 367 585791630 1 176 38 3854191 2 400 118 690708798 1 30 78 651123549 2 51 175 768766191 0 ...
output:
0 21273918 26265161 29043698 21831403 16610623 17436543 35404364 27192396 24730936 16313756 37291746 19732813 31288661 17711011 24220067 25006504 26978884 27051180 18321622 26996845 25698134 21439433 19491241 19895270 22955787 24415518 25912470 28380466 28362222 23485217 28647426 16593812 20227771 2...
result:
ok 160000 numbers
Test #15:
score: 0
Accepted
time: 289ms
memory: 7484kb
input:
400 500000 120 319 957532605 0 120 319 965011794 1 120 319 969744158 0 160 286 772193661 0 120 319 945095549 1 378 283 490371174 1 120 319 983544960 0 120 319 943380383 0 377 26 102031810 0 120 319 998315355 0 113 57 555519915 0 120 319 974733845 0 120 319 971077310 0 120 319 945383631 0 120 319 939...
output:
0 29290951 19979170 40040183 21754857 42605606 27460396 38660560 32314090 10934979 43079572 18660699 27539318 39919147 29832977 41290772 23804091 25594555 19783746 21143550 43702910 30339050 25841250 25634158 11256997 16038805 21712569 18978549 36203179 24527057 34241845 39474406 29006904 29357593 2...
result:
ok 160000 numbers
Test #16:
score: 0
Accepted
time: 271ms
memory: 7432kb
input:
400 500000 169 204 3 0 240 180 973456027 0 284 331 200874 1 321 232 3115 0 40 161 18892271 2 258 101 846062855 0 386 78 517554825 0 195 95 68933 1 157 68 2749 0 345 361 1 2 125 273 715 0 176 310 47 0 2 346 17925688 0 42 154 5035262 2 42 35 6 0 143 253 9908387 1 354 126 2 1 287 388 14 0 226 128 25687...
output:
0 4 2 3 4 3 3 3 3 3 3 2 3 3 2 4 3 1 4 3 3 3 4 4 3 4 4 3 3 3 3 2 3 3 4 4 3 3 3 3 3 3 3 4 3 3 4 4 3 3 3 4 2 2 2 3 3 3 4 3 3 2 2 3 3 4 3 3 3 4 2 4 3 3 3 3 4 4 3 3 3 4 4 3 2 3 3 1 3 4 2 2 3 3 3 4 3 3 4 3 3 3 3 4 3 4 4 2 2 2 2 2 2 3 3 4 3 3 3 2 4 3 3 3 3 3 3 1 3 3 3 2 3 2 3 3 3 2 2 3 3 2 3 3 3 3 3 3 3 3 ...
result:
ok 160000 numbers
Test #17:
score: 0
Accepted
time: 278ms
memory: 7532kb
input:
400 500000 125 349 3301463 1 169 159 995393299 0 333 116 97612 0 199 268 459 2 123 165 431176900 1 225 9 6176870 1 393 350 856886607 0 384 41 39 1 14 247 90229 2 91 178 740541281 2 127 273 26678 0 326 135 5276 1 18 128 755401400 0 236 229 830460071 0 18 128 403755629 0 227 238 899692 0 277 378 13 1 ...
output:
0 3 2 3 4 4 4 3 3 4 3 3 3 4 4 3 4 4 4 2 2 4 4 3 4 4 3 3 4 3 3 3 3 4 3 4 4 4 2 4 3 1 4 3 2 4 5 4 4 4 3 3 4 4 3 4 4 3 5 3 4 3 3 4 3 4 5 4 3 4 4 3 4 4 3 4 5 2 4 4 1 4 4 5 3 5 4 4 5 4 5 4 4 4 4 2 3 3 4 4 4 3 4 1 4 3 5 3 4 2 4 3 4 4 3 5 4 4 2 3 2 3 3 2 4 5 4 3 4 3 3 3 4 3 4 4 3 3 2 5 3 4 3 4 3 4 4 4 4 3 ...
result:
ok 160000 numbers
Test #18:
score: 0
Accepted
time: 229ms
memory: 7528kb
input:
400 159600 101 156 30073354 1 168 322 76198 2 157 373 6421 0 266 104 703725 2 322 391 948796 2 192 386 14977337 1 170 152 1965198 1 9 144 3 1 158 340 73 1 101 102 44446 2 190 171 29188 2 369 17 119629926 2 15 235 3 0 309 92 671 1 46 212 939 0 224 228 382462087 0 238 30 870 2 146 33 112 0 135 86 21 2...
output:
0 3 5 6 4 5 6 5 5 4 6 4 3 5 5 6 6 5 7 4 5 4 5 6 4 3 5 6 4 5 6 4 3 5 6 5 4 7 4 5 6 5 4 6 6 6 4 5 5 5 4 6 7 3 6 5 5 5 4 7 5 3 4 5 4 5 1 5 4 5 6 3 2 3 6 5 5 1 6 7 7 6 6 4 4 5 6 4 5 5 6 4 3 4 3 4 4 5 5 6 6 5 5 5 3 5 7 5 5 5 5 7 5 6 4 4 4 2 3 5 4 5 5 5 5 4 6 7 5 4 6 5 6 4 6 5 6 5 4 4 4 5 5 5 6 4 5 4 6 5 ...
result:
ok 160000 numbers
Test #19:
score: 0
Accepted
time: 286ms
memory: 7436kb
input:
400 500000 168 132 999803094 1 263 186 999999974 0 305 255 999982758 2 139 158 999936647 0 111 10 999999702 0 132 326 999999996 2 263 186 999999974 0 127 115 999997093 0 232 277 999999120 1 90 125 999988902 2 318 10 998676944 2 147 387 999999984 1 12 378 942526908 2 303 393 999999993 1 311 129 99769...
output:
0 456967564 461552844 474195475 475267729 594738911 609110394 448409205 521041315 441876166 500800161 535954023 719775417 721488368 433487511 635509913 362109851 370437388 448768334 730134731 687004858 895264691 572487390 563740212 494373796 545193956 513851343 513943459 465051913 352507062 47635610...
result:
ok 160000 numbers
Test #20:
score: 0
Accepted
time: 282ms
memory: 7468kb
input:
400 500000 118 276 999999555 1 198 117 951264699 0 181 212 992402425 2 390 302 999999615 0 184 175 999976824 0 290 243 999595104 1 342 374 580654264 1 314 248 999998642 2 18 108 999992447 1 43 78 986725933 1 310 158 999999669 2 357 236 999992744 2 42 8 999763335 0 36 90 999944193 0 92 210 997658861 ...
output:
0 996370337 998501308 983675014 941313661 1210624120 1068790143 947100040 825825686 999990283 730750984 1115180704 942935180 780366078 1140485165 1016876628 999999487 765289756 1115165912 850871816 999999998 999999051 999972860 999999646 977926896 978940758 951628581 850895841 783658215 965942515 99...
result:
ok 160000 numbers
Test #21:
score: 0
Accepted
time: 281ms
memory: 7484kb
input:
400 500000 236 291 999986473 1 77 72 999978599 1 236 291 999986473 1 331 181 994302283 0 348 319 999973349 0 320 47 999999767 1 348 319 999973349 0 236 291 999986473 1 150 350 760153719 2 348 319 999973349 0 74 351 999998718 2 236 291 999986473 1 236 291 999986473 0 348 319 999973349 0 236 291 99998...
output:
0 858089778 1177037766 1382972426 1218800857 1531957774 999998596 1443406426 999998558 1220047426 1525892229 1127631590 822577587 553346544 999157877 1220047235 1550597330 1336719589 1183848050 994712815 1553112467 990812935 1322839139 999999999 999999924 1157321394 997292961 1260528385 1103578015 1...
result:
ok 160000 numbers
Test #22:
score: 0
Accepted
time: 295ms
memory: 7536kb
input:
400 478800 161 62 132044976 2 331 31 53581411 0 351 122 138465122 2 244 28 123854445 2 216 351 35776955 2 26 118 252665759 1 79 60 315298417 2 355 290 76291244 2 59 169 6240524 2 284 245 40337423 2 51 60 461354273 0 276 280 108837701 2 115 247 64560959 1 252 157 187041976 1 9 276 351286827 0 244 373...
output:
0 2281696 778326 2697251 2749110 3292557 2238180 2252440 2659744 2386225 2958910 1387489 2359543 1638201 1643244 3297035 2418827 1827875 2608879 2638323 1632191 2528718 1240681 1899916 1938496 3225944 2175076 2606311 2502307 2509039 1542974 1137693 2487914 2326660 2069552 2504692 2035753 2604505 183...
result:
ok 160000 numbers
Test #23:
score: 0
Accepted
time: 301ms
memory: 7424kb
input:
400 500000 121 305 9355216 2 301 140 469131089 1 378 133 296956368 2 194 143 112177619 0 301 140 460321100 0 73 40 96486545 0 301 140 330879937 0 26 214 2790031 0 24 155 265537967 1 301 140 191901634 2 196 327 143112028 0 338 11 23055339 0 301 140 959982130 2 301 140 339781248 0 301 140 523919619 0 ...
output:
0 4938546 4579536 3031472 4593014 1898710 2885221 2962333 3607541 1366270 4117895 3461449 2605903 3174263 3357320 4582344 2228410 4640604 3624749 3271466 3408892 4136641 3642858 3040734 2417977 4139762 3333653 3588607 4418412 3502173 3535227 4005712 1492247 3943550 5235258 4164810 3104324 3627528 22...
result:
ok 160000 numbers
Test #24:
score: 0
Accepted
time: 300ms
memory: 7408kb
input:
400 500000 381 197 440089835 0 167 145 68587194 2 132 206 295138464 2 315 391 138569748 0 209 98 825434111 0 257 287 107925372 0 305 63 304011463 2 212 185 311717946 1 202 6 152707626 2 326 324 391927067 0 89 222 134154597 0 18 63 465085995 0 111 28 493457993 0 193 297 834981697 0 254 251 564481228 ...
output:
0 6341544 6214103 6363035 793774 5103262 4592732 3137452 5138640 4853306 4110895 4787872 3815905 3043598 6415388 5049510 5157326 4521969 6919783 3018019 6211024 5576272 7061709 6670568 4076215 2763766 6596520 6255264 4658593 4422731 5318018 3768426 6530196 3249967 5058848 5050199 5089065 4527146 434...
result:
ok 160000 numbers
Test #25:
score: 0
Accepted
time: 267ms
memory: 7464kb
input:
400 500000 99 311 578918308 1 202 363 923548166 0 172 350 781472999 1 294 296 615581356 2 34 284 595959748 1 81 382 893273428 1 202 363 969228365 0 240 165 967911279 1 188 72 884565296 0 13 356 980519230 0 124 262 928584350 2 180 215 593218295 2 275 189 891310943 2 281 118 791723746 0 170 19 9952707...
output:
0 775690297 898491581 827723344 766642402 816965629 829678781 588535921 694423505 792568873 778410093 739102103 920400738 675143814 335323490 802397899 848744122 839393410 611510344 735253353 740051381 808464976 773989021 579267807 918162511 709095215 549731912 868120521 694063042 769943313 69072871...
result:
ok 160000 numbers
Test #26:
score: 0
Accepted
time: 233ms
memory: 7472kb
input:
400 239400 148 10 963992200 1 4 270 942442678 0 281 124 801394686 0 83 99 914451190 1 23 11 786486567 0 1 54 998927593 2 345 316 700748845 2 236 169 635151777 1 32 318 780004378 0 392 375 923657035 0 188 360 968908849 2 396 60 792875407 0 238 310 952369334 2 343 250 793502566 1 117 116 962356131 1 1...
output:
0 712703264 709849545 755846319 715977591 620391880 758319130 859698309 980950610 562528612 831627339 1098684423 1021885791 915307713 754800172 757869041 1123869606 843505867 832948802 920308097 542679545 922696534 771787896 603124577 757189444 874578271 1000499552 930016754 784748739 897842202 1052...
result:
ok 160000 numbers
Test #27:
score: 0
Accepted
time: 276ms
memory: 7408kb
input:
400 500000 157 336 924170479 1 157 336 924170479 1 157 336 924170479 0 157 287 895871796 1 157 336 924170479 1 91 72 804056172 0 157 336 924170479 1 157 336 924170479 1 221 24 983620371 0 157 336 924170479 1 385 313 718806681 2 157 336 924170479 0 157 336 924170479 0 157 336 924170479 1 157 336 9241...
output:
0 1197473797 1123006721 1164530318 1166483983 890658597 771632347 826274986 1079594694 985340027 921246721 974968479 1248045664 1003764760 1161306480 1237289769 782419169 1104086284 1230369114 1257791993 1136210883 1257805125 940112051 921807266 1203510681 1181684764 1293776552 1238247029 1003436263...
result:
ok 160000 numbers
Test #28:
score: 0
Accepted
time: 282ms
memory: 7552kb
input:
400 500000 158 260 749528858 1 91 214 942464774 0 12 52 615530684 1 118 392 891456943 2 215 398 354935807 0 306 228 404381474 2 154 143 17509766 0 342 164 74183788 2 126 5 717038835 1 384 208 790862671 0 195 267 450945947 0 86 378 419157835 2 171 198 191958808 1 168 380 38509759 0 63 393 424674023 1...
output:
0 4 4 4 3 4 5 5 4 6 4 4 3 5 4 4 5 3 4 3 3 4 4 5 5 5 4 5 5 3 3 4 5 3 4 4 3 5 3 4 3 3 4 4 4 3 5 5 5 5 5 4 4 4 2 3 3 5 5 4 5 5 5 5 5 5 5 4 3 5 4 4 4 4 4 2 5 4 2 5 5 5 4 4 4 5 4 5 2 4 3 4 3 4 4 4 5 5 5 5 2 5 5 4 4 3 3 3 5 5 4 3 5 5 4 4 2 5 4 5 4 5 5 4 5 4 6 5 3 5 4 5 5 4 3 4 7 5 5 4 4 5 4 4 3 4 5 5 3 3 ...
result:
ok 160000 numbers
Test #29:
score: 0
Accepted
time: 292ms
memory: 7428kb
input:
400 500000 151 171 918614577 1 243 360 901746229 2 130 323 490677406 2 165 32 53436860 2 82 218 279954681 1 338 254 9 2 56 152 6 0 207 4 786834030 1 208 51 375913673 2 82 218 279954681 1 53 46 962596426 2 277 237 296545581 0 82 218 279954681 1 82 218 279954681 0 267 44 246576929 1 274 224 350543006 ...
output:
0 6 6 6 5 5 3 6 6 5 7 7 5 7 4 6 6 6 7 7 5 7 5 6 6 6 4 4 6 6 7 6 4 7 9 5 8 6 7 5 6 4 6 7 6 5 4 6 6 6 5 8 7 6 5 5 6 5 5 6 6 6 6 5 7 6 7 8 5 6 5 5 6 6 6 6 6 7 6 4 8 4 6 6 6 5 7 6 4 7 6 5 4 6 6 4 8 7 6 7 6 7 7 8 6 6 7 7 9 5 6 6 6 7 6 7 6 6 6 6 4 5 6 5 6 6 5 6 6 7 5 8 4 7 4 9 6 6 4 5 4 6 5 6 7 7 7 5 5 7 ...
result:
ok 160000 numbers
Test #30:
score: 0
Accepted
time: 229ms
memory: 7484kb
input:
400 159600 161 146 252949864 2 237 267 430611578 1 377 17 598031964 2 3 196 525429795 1 212 118 31915817 1 35 327 599225232 0 48 242 989427781 2 291 302 548955316 2 155 179 8 2 378 48 3 0 112 293 10061134 2 186 259 6 2 363 393 311810557 0 164 156 846370026 2 360 77 922066723 0 318 191 706984152 1 23...
output:
0 8 6 8 5 7 7 4 7 9 7 9 7 9 5 7 7 8 8 5 7 8 7 7 6 6 10 8 5 7 7 9 9 6 8 7 5 10 6 8 5 6 9 2 8 7 9 6 8 8 8 7 8 6 8 7 8 8 9 6 3 9 6 6 7 6 10 8 3 6 9 5 9 7 7 6 9 5 8 7 6 8 7 6 7 5 8 7 8 6 6 6 7 7 7 8 8 7 7 7 9 5 8 9 8 9 8 9 8 8 5 7 6 1 8 6 3 6 8 8 7 7 7 7 7 7 7 6 9 5 2 7 9 6 5 4 7 9 5 7 7 4 6 6 8 5 7 7 7...
result:
ok 160000 numbers
Test #31:
score: 0
Accepted
time: 253ms
memory: 7488kb
input:
400 500000 58 59 1000000000 1 58 59 1000000000 0 58 59 1000000000 1 58 59 1000000000 0 58 59 1000000000 1 58 59 1000000000 0 58 59 1000000000 1 58 59 1000000000 1 58 59 1000000000 0 58 59 1000000000 0 58 59 1000000000 1 58 59 1000000000 0 58 59 1000000000 0 58 59 1000000000 1 58 59 1000000000 0 58 5...
output:
0 1000000000 3245842439 4245842439 6491285643 7491285643 9737312376 10737312376 12983483539 13983483539 16228951312 17228951312 19474735648 20474735648 22719877834 23719877834 25965987199 26965987199 29212050648 30212050648 32457541564 33457541564 35702648328 36702648328 38948736157 39948736157 4219...
result:
ok 160000 numbers
Test #32:
score: 0
Accepted
time: 254ms
memory: 7472kb
input:
400 500000 222 223 527211472 0 201 202 564299876 0 68 69 309951860 0 263 264 61522075 0 187 188 734220236 2 259 260 928227503 0 105 106 290606717 0 353 354 934589863 0 225 226 979184870 0 64 65 964570456 1 140 141 993213989 0 392 393 832569875 0 51 52 883861415 2 59 60 621305974 0 37 38 872941534 1 ...
output:
0 294190043 1467789266 1570778151 2874052011 3727042477 4922224940 4952986722 6096269119 6915939791 8713231862 8906353390 9454612941 9540011837 11017684673 11404913053 13591437532 13733053746 14745225866 15683079186 17285948851 17343837638 17649507107 18627460082 19342741875 19646589427 21414304709 ...
result:
ok 160000 numbers
Test #33:
score: 0
Accepted
time: 269ms
memory: 7436kb
input:
400 500000 277 278 365767577 0 278 279 811699906 0 277 278 483361804 2 277 278 980313263 0 291 292 998055779 1 277 278 601124908 1 94 95 121659566 0 277 278 953860031 1 277 278 848016197 0 291 292 988204835 1 277 278 425714979 2 277 278 516640862 1 277 278 577580030 1 291 292 989658991 0 277 278 781...
output:
0 654435104 2400946827 2523821400 3368751192 3664161616 4065870974 4624699902 5267173047 6162771151 7934298455 8326283342 10188131607 10633124803 11148698576 11452256347 13222098685 13963074259 14465813058 14468423464 14760196488 15108661240 16123456017 16776435599 18146720441 18619406435 2030544156...
result:
ok 160000 numbers
Test #34:
score: 0
Accepted
time: 177ms
memory: 7476kb
input:
400 799 202 2 412478755 0 163 164 695295568 1 195 196 92695257 1 352 152 784952622 0 34 35 886311598 1 124 323 258590090 0 394 194 199659751 0 53 54 724314439 1 197 198 331713781 1 370 371 722081770 1 38 39 613335909 1 371 171 127579521 0 39 238 318282584 0 238 38 517104355 0 47 246 394688277 0 212 ...
output:
0 3004389910 5679383057 8096484337 10149299041 11515492932 13023319133 15156422361 17529970622 18556931010 19899190720 20380903875 22041847106 23335702847 24436553422 25542279505 27405781976 29233092389 31491618122 33720089851 37016407592 37220259560 39133493698 40319143062 43189229551 44723673451 4...
result:
ok 160000 numbers
Test #35:
score: 0
Accepted
time: 244ms
memory: 7480kb
input:
400 500000 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 437346025 0 128 327 4...
output:
0 988223684 2127078423 2872082794 3672310081 5152913279 5710906126 6841776058 7284517201 8650724028 9067458155 10458321570 11971140218 13012129544 14184806266 15046314022 16285026198 17552392513 18145889489 19157963219 20964194905 21720953987 22209103929 23591577348 24458930080 25916779866 273333312...
result:
ok 160000 numbers
Test #36:
score: 0
Accepted
time: 258ms
memory: 7420kb
input:
400 500000 329 129 550010861 0 5 6 112049493 0 149 348 178966255 0 105 304 129935804 0 27 226 38790488 0 367 368 198845071 0 250 50 102428577 0 86 87 54341648 0 321 121 257903177 0 97 98 79542524 1 274 275 148387909 0 335 336 86167905 0 302 303 107440217 1 278 279 128325431 0 391 392 63999345 0 72 2...
output:
0 362990158 1435563568 2553667527 3672727322 5483036713 5973249231 7811332117 9070087264 10707983078 12281946169 14155758466 14820051915 16026421560 16247516061 18253264780 19760685182 21321311804 22601957290 23970832795 24285289878 25876822431 27468643301 29360043480 31211043387 32503674405 3285366...
result:
ok 160000 numbers
Test #37:
score: 0
Accepted
time: 255ms
memory: 7460kb
input:
400 500000 105 104 271111878 0 396 393 687970865 0 50 45 48420107 1 50 45 48420107 0 168 167 766488655 1 50 45 48420107 0 356 352 925090423 0 152 155 359473782 0 50 45 48420107 0 105 104 271111878 0 50 45 48420107 0 105 104 271111878 0 105 104 271111878 0 105 104 271111878 0 105 104 271111878 0 50 4...
output:
0 2183832905 2294983820 912379226 1530108759 2007391276 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #38:
score: 0
Accepted
time: 176ms
memory: 7540kb
input:
400 1478 112 109 19413864 2 48 49 638931650 1 312 313 392674828 1 157 156 42290248 2 356 353 745089414 1 209 207 62545115 1 172 169 866674115 2 393 395 57407688 1 57 58 721747914 0 230 231 638362503 1 11 13 958444568 2 309 307 834844393 0 186 185 218117202 1 355 353 251647764 2 188 183 342369332 0 6...
output:
0 692927493 1256590369 1161354226 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1...
result:
ok 160000 numbers
Test #39:
score: 0
Accepted
time: 250ms
memory: 7420kb
input:
400 500000 343 347 908322618 0 343 347 676587077 0 343 347 640646104 0 343 347 945647168 1 343 347 905407410 0 343 347 783236263 1 343 347 695206412 0 343 347 617865059 0 343 347 619392780 1 343 347 606527968 0 343 347 991281800 1 343 347 551067396 1 343 347 565946736 0 343 347 579676557 0 343 347 7...
output:
0 108864792 52071799 58792315 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
result:
ok 160000 numbers
Test #40:
score: 0
Accepted
time: 243ms
memory: 7484kb
input:
400 500000 197 199 875264278 0 218 220 885565218 0 99 97 492485720 1 160 162 694383781 0 130 126 661025892 1 378 380 266673789 1 199 202 629943601 0 214 216 638482508 0 166 167 941727904 0 167 164 987289280 0 381 378 590654437 0 51 54 731600869 0 103 101 607181560 1 18 20 782353545 1 134 132 3732314...
output:
0 691099598 731997844 208348344 47154324 769274322 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
result:
ok 160000 numbers
Test #41:
score: 0
Accepted
time: 250ms
memory: 7536kb
input:
400 500000 82 78 744643648 0 136 134 528111709 0 82 78 847719249 1 82 78 811919840 0 82 78 366334577 1 82 78 548724165 1 157 156 548152203 0 82 78 168655316 1 82 78 193538935 1 82 78 416736870 1 82 78 695161922 0 82 78 433333835 1 82 78 560502356 0 82 78 503531568 0 82 78 516061846 1 82 78 465191061...
output:
0 126074721 339601397 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1...
result:
ok 160000 numbers
Test #42:
score: 0
Accepted
time: 190ms
memory: 7428kb
input:
400 79800 75 87 719966779 1 118 250 888080280 1 39 224 440424937 1 182 357 986756923 1 91 194 371203418 1 97 126 24241688 1 84 392 469317957 1 169 248 612396282 1 271 346 62874174 1 253 288 702342406 1 263 390 23809654 1 130 364 425323682 1 12 236 318759550 1 37 231 155211469 1 159 335 656519840 1 3...
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #43:
score: 0
Accepted
time: 257ms
memory: 7468kb
input:
400 500000 35 114 222648751 0 35 114 222648751 1 35 114 222648751 0 182 357 984732884 1 35 114 222648751 1 35 114 222648751 0 35 114 222648751 0 35 114 222648751 0 271 346 26645511 1 35 114 222648751 0 35 114 222648751 0 35 114 222648751 1 35 114 222648751 0 35 114 222648751 1 35 114 222648751 0 346...
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 71783089 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #44:
score: 0
Accepted
time: 267ms
memory: 7556kb
input:
400 500000 137 384 112393195 0 332 367 979384763 1 73 349 589398379 0 182 357 338810143 1 34 90 933847933 1 388 397 389742274 0 124 312 364410470 0 18 159 447937750 0 271 346 9583153 1 204 282 153834253 1 58 276 235781250 1 35 125 856782208 1 77 379 872298284 0 15 285 863470440 0 62 334 769743463 0 ...
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #45:
score: 0
Accepted
time: 257ms
memory: 7404kb
input:
400 500000 355 182 1000000000 0 222 129 1000000000 0 355 182 1000000000 0 25 343 1000000000 0 355 182 1000000000 0 25 343 1000000000 0 387 221 1000000000 0 355 182 1000000000 0 25 343 1000000000 0 355 182 1000000000 0 25 343 1000000000 0 355 182 1000000000 0 355 182 1000000000 0 355 182 1000000000 0...
output:
0 -1 247000000000 -1 174000000000 -1 527000000000 398000000000 336000000000 -1 503000000000 222000000000 -1 273000000000 64000000000 229000000000 -1 -1 80000000000 -1 524000000000 486000000000 274000000000 -1 364000000000 -1 -1 -1 554000000000 272000000000 108000000000 230000000000 84000000000 22000...
result:
ok 160000 numbers
Test #46:
score: 0
Accepted
time: 174ms
memory: 7448kb
input:
400 798 45 53 1000000000 0 276 141 1000000000 1 111 237 1000000000 1 199 233 1000000000 0 142 85 1000000000 0 307 180 1000000000 1 46 208 1000000000 0 82 136 1000000000 1 237 163 1000000000 1 306 267 1000000000 1 62 185 1000000000 0 281 198 1000000000 1 114 291 1000000000 0 355 2 1000000000 0 27 159...
output:
0 -1 -1 -1 96000000000 -1 -1 204000000000 375000000000 54000000000 -1 297000000000 408000000000 -1 -1 -1 -1 381000000000 -1 72000000000 336000000000 -1 21000000000 -1 195000000000 318000000000 225000000000 -1 -1 126000000000 -1 -1 -1 -1 -1 123000000000 -1 -1 -1 447000000000 -1 -1 285000000000 -1 -1 ...
result:
ok 160000 numbers
Test #47:
score: 0
Accepted
time: 247ms
memory: 7532kb
input:
400 500000 21 37 103097780 0 21 37 981429148 2 21 37 236164580 0 21 37 286630957 0 21 37 790938274 0 21 37 108351790 0 21 37 91862737 1 21 37 336248577 1 21 37 948738061 1 21 37 436649066 2 21 37 433689013 2 21 37 863320061 0 21 37 648868251 1 21 37 980678856 1 21 37 52928813 1 21 37 462876281 0 21 ...
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #48:
score: 0
Accepted
time: 277ms
memory: 7488kb
input:
400 500000 115 335 772295221 0 3 239 282142641 0 164 1 885535764 2 60 130 989472853 1 158 220 668330977 0 328 297 582707093 0 114 155 728613280 1 318 310 69486122 1 75 321 956999961 0 343 83 118631893 0 340 283 928246177 1 301 147 493309697 0 345 48 242987876 0 44 254 986568509 2 153 262 221051378 0...
output:
0 187537952005 91953039971 172541709059 113877343453 104182575511 151977509337 58888020023 115045078567 109776813554 30649100106 179195022043 129124881049 16448990998 65015598037 96508508709 45242631536 3746484002 70211515156 66332052465 55461393898 134349904568 131362760366 131161795529 60730422118...
result:
ok 160000 numbers
Test #49:
score: 0
Accepted
time: 346ms
memory: 7416kb
input:
400 500000 324 309 401472291 2 149 331 525703999 1 324 309 855951890 0 59 398 43696017 2 19 241 397261409 2 2 175 314121442 2 95 322 597252721 1 324 309 536849703 2 238 109 267583478 2 71 236 327803175 2 180 256 217778185 2 324 309 142165633 1 324 309 76868785 1 71 236 686781032 0 324 309 535452269 ...
output:
0 162493448 112171615 85747990 40128946 97642536 124630459 100556908 79733536 137870670 173527601 22297509 42711371 174439338 180610433 130527876 148420705 7294053 102991298 186160093 45486307 65465308 182815132 101448928 39934894 96751401 153612136 182097774 11823759 110157559 152656694 165832530 9...
result:
ok 160000 numbers
Test #50:
score: 0
Accepted
time: 328ms
memory: 7476kb
input:
400 500000 394 392 463161 0 29 386 551660 0 303 313 223329 0 338 73 405863 0 301 28 1464685 0 53 338 1593194 0 39 69 1617539 0 39 198 275813 0 207 65 548983 0 359 350 596616393 2 108 370 96725220 1 174 293 867183 0 127 96 353458 0 108 270 225211 0 177 184 674591447 2 269 67 1016678 0 291 146 74767 0...
output:
0 231466781 256958600 306337392 123699205 120727161 196670853 76838542 291618307 51433286 149252816 301411063 206252197 139670743 129132530 156979412 315432800 342518677 220711124 43903695 118187801 250139823 141239749 192819385 288608446 198132467 288357327 29686765 96155407 261068507 131150273 236...
result:
ok 160000 numbers
Test #51:
score: 0
Accepted
time: 175ms
memory: 7460kb
input:
400 1 21 37 2137 2
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Test #52:
score: 0
Accepted
time: 171ms
memory: 7528kb
input:
400 0
output:
0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -...
result:
ok 160000 numbers
Extra Test:
score: 0
Extra Test Passed