QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#235050 | #4815. Flower's Land | GuanYunchang | AC ✓ | 1048ms | 970300kb | C++20 | 2.5kb | 2023-11-02 11:41:09 | 2023-11-02 11:41:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 7660kb
input:
5 3 6 10 4 3 4 3 4 4 2 2 5 5 1
output:
20 20 17 17 20
result:
ok 5 number(s): "20 20 17 17 20"
Test #2:
score: 0
Accepted
time: 1ms
memory: 5516kb
input:
7 4 1 3 2 1 7 12 17 4 6 1 4 5 1 2 5 7 6 3 2
output:
31 13 13 31 21 31 31
result:
ok 7 numbers
Test #3:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
1 1 20
output:
20
result:
ok 1 number(s): "20"
Test #4:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
10 3 19 7 25 18 93 97 21 51 60 80 6 7 7 1 1 9 9 10 10 2 2 5 5 3 3 8 8 4
output:
159 180 169 94 180 137 137 169 159 180
result:
ok 10 numbers
Test #5:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
20 3 932 609 248 720 831 253 418 482 1000 542 436 304 217 163 872 380 704 845 497 610 17 12 1 17 15 17 13 17 2 15 16 2 18 16 8 16 4 16 19 4 6 4 20 19 10 19 9 10 5 10 7 9 3 9 14 5 11 7
output:
2508 2185 1790 1945 2373 1470 1960 1707 2373 2373 1854 1940 1853 1536 2508 1945 2508 1945 2039 1827
result:
ok 20 numbers
Test #6:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
40 5 1105 1687 737 6321 7793 7325 3443 2983 6912 6304 4211 5325 7774 7857 5121 8331 9317 1042 8291 9698 7373 440 9788 7938 7191 5563 4554 596 9733 4920 5398 3642 844 5733 4048 4417 8279 3054 4596 3153 12 17 12 36 12 15 12 13 12 2 12 30 12 18 12 33 12 4 12 39 12 25 12 20 12 10 12 9 12 23 12 29 12 3 1...
output:
35649 36231 35281 40865 42337 41869 37987 37527 41456 40848 38755 43861 42318 42401 39665 42875 43861 35586 42835 43861 41917 34984 43861 42482 41735 40107 39098 35140 43861 39464 39942 38186 35388 40277 38592 38961 42823 37598 39140 37697
result:
ok 40 numbers
Test #7:
score: 0
Accepted
time: 0ms
memory: 2316kb
input:
100 10 11845 7520 37311 70194 67214 68176 40075 13721 13118 2555 27023 65012 36716 47598 62807 83049 95169 73454 955 72471 72461 38753 7766 53638 20670 21008 37771 97099 75063 80585 66232 33603 92301 21230 20888 96576 51530 90712 95603 93535 59988 78079 96958 42006 35041 22283 35258 7871 45967 7101 ...
output:
777955 640628 803421 836304 843042 834286 806185 779831 579059 768665 688155 851049 812544 813708 791287 836304 836304 849282 767065 848299 848289 804863 773876 829466 485824 579059 803881 614459 579059 627078 585962 735460 564264 614459 688155 836304 827358 836304 851049 792569 616369 851049 792569...
result:
ok 100 numbers
Test #8:
score: 0
Accepted
time: 1ms
memory: 3180kb
input:
200 30 332408 397037 98648 388661 351913 146463 354518 148254 131018 214842 465228 340704 397726 443065 248835 223274 239234 260094 420186 444939 5604 433696 253672 122804 20775 178018 260524 40342 259288 399226 146027 273111 141307 489658 150962 170539 339581 10624 479316 460184 467714 261732 46024...
output:
8467030 8324860 9617392 8550455 8359951 8715141 9584815 9799514 10012956 8550455 10066359 8550455 8550455 8986218 8986218 8825653 8762772 8550455 9726253 8550455 8467030 8825653 8839704 10066359 8986218 10066359 8304862 9639651 9859760 9617392 8868772 8514159 9426790 9859760 8498063 8986218 8324860 ...
result:
ok 200 numbers
Test #9:
score: 0
Accepted
time: 0ms
memory: 5732kb
input:
500 50 431046 133020 268267 491421 73671 392721 149244 135041 434815 18486 70564 263715 274349 404449 348097 483453 364113 43751 27061 195734 120574 431695 191727 280919 428553 367375 451076 52558 252110 455439 202418 248384 458283 190737 59309 282145 401725 53022 493885 265157 92783 353158 80778 61...
output:
20366165 20099795 19698680 20229707 19306723 20227402 19782211 19051032 20375973 19885123 19259866 19076748 19704511 19762890 20156234 20375973 19233722 19835639 19446421 19762890 20087277 20060994 20200319 20289511 19712344 20032061 20404625 20061150 20404625 19548733 19821412 20256976 19521113 201...
result:
ok 500 numbers
Test #10:
score: 0
Accepted
time: 2ms
memory: 7032kb
input:
500 400 33910 461235 315800 145874 343269 175059 408612 221965 16340 2515 422955 234650 187046 423377 294201 99471 64827 13512 85115 266243 210853 339475 64307 195988 40756 267621 410907 96760 299062 16226 151894 344109 341276 300471 249190 495402 144975 357953 143882 203217 15918 285363 167985 2374...
output:
113072802 113172097 113172097 113172097 113172097 113172097 113172097 113172097 113055232 113041407 113172097 113172097 113171926 113172097 113172097 113138363 113103719 113172097 113124007 113172097 113172097 113172097 113103199 113171926 113079648 113172097 113172097 113172097 113172097 113055118 ...
result:
ok 500 numbers
Test #11:
score: 0
Accepted
time: 0ms
memory: 7384kb
input:
500 490 117374 249369 65444 455139 404356 129652 168404 56937 1697 345028 216885 481757 311538 289421 132904 325897 155999 425799 289231 139118 371316 184647 461098 302736 394189 414790 76013 112329 470253 126627 36943 484399 60053 366699 449169 124581 468634 52694 216412 122134 230370 484278 136219...
output:
122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 122937414 ...
result:
ok 500 numbers
Test #12:
score: 0
Accepted
time: 0ms
memory: 7476kb
input:
500 500 431210 77070 4168 286007 179851 418354 12453 99059 192427 481988 368024 145623 134091 338569 209592 464774 172050 82103 247518 197687 218054 253957 188842 373155 374232 189211 7096 367467 416866 264229 128219 200393 183624 64102 172463 382229 1546 245952 67110 191276 112904 60576 21745 83247...
output:
120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 120249891 ...
result:
ok 500 numbers
Test #13:
score: 0
Accepted
time: 11ms
memory: 72608kb
input:
3000 2000 340027 415811 82817 134561 419447 365926 381133 23095 144595 26419 34153 489015 151446 273203 228955 325803 437286 326169 35163 295198 302964 309536 332477 53338 182205 51414 450400 365788 50804 13496 334250 251277 273738 492662 361508 127917 233762 227013 237730 443529 487736 322954 18598...
output:
509584529 505884467 509584529 505589821 509584529 509584529 509584529 509584529 509584529 509584529 506049235 509584529 505589821 509584529 509584529 509584529 509584529 509584529 509584529 505360737 507377470 508077499 509584529 509584529 506049235 509584529 509584529 509584529 509584529 509584529 ...
result:
ok 3000 numbers
Test #14:
score: 0
Accepted
time: 12ms
memory: 73116kb
input:
3000 2000 206137 220133 435068 178537 171840 339613 183120 446132 304351 141963 327896 436271 200519 247836 188576 144642 382136 461780 251737 133930 317616 164059 139074 270029 105666 84338 470385 9315 171801 287588 202954 11523 175339 382980 85329 237447 419998 429600 443901 124176 212745 12478 66...
output:
571133130 570173848 571133130 571133130 570927492 571133130 570784784 571133130 571133130 571133130 571133130 571133130 571133130 571133130 571133130 571133130 571133130 571133130 571133130 570980418 571133130 571010547 571053023 571133130 570952154 570981184 571133130 571011107 571133130 571133130 ...
result:
ok 3000 numbers
Test #15:
score: 0
Accepted
time: 12ms
memory: 72744kb
input:
3000 2000 167602 227995 73949 316919 35453 465010 159252 93563 30660 141993 164439 238021 226063 144110 377985 147061 304799 10143 19641 394140 163522 185753 428823 242903 135262 216536 39342 193425 444508 82866 444299 287346 223283 145380 358159 403817 78968 134156 160645 105261 365219 278415 32828...
output:
657721007 657721007 657632418 657721007 657593922 657721007 657717721 657652032 657589129 657700462 657721007 657721007 657721007 657702579 657721007 657705530 657721007 657568612 657578110 657721007 657721007 657721007 657721007 657721007 657693731 657721007 657597811 657721007 657721007 657641335 ...
result:
ok 3000 numbers
Test #16:
score: 0
Accepted
time: 19ms
memory: 73080kb
input:
3000 2000 209838 400440 69515 246945 14065 238744 272504 250349 457341 61876 271742 467723 118571 425307 17908 436138 350652 342675 357624 410907 93802 107510 131252 97141 272943 49097 324356 107244 131904 42686 492428 426933 464408 350188 122836 308119 251571 466176 362646 202479 159161 94993 37618...
output:
617650977 617721673 617510654 617721673 617721673 617721673 617713643 617691488 617721673 617503015 617721673 617721673 617721673 617721673 617721673 617721673 617721673 617721673 617721673 617721673 617534941 617721673 617572391 617538280 617721673 617490236 617721673 617548383 617573043 617483825 ...
result:
ok 3000 numbers
Test #17:
score: 0
Accepted
time: 15ms
memory: 73028kb
input:
3000 2000 60585 40180 97784 242380 459972 255582 161564 131327 384022 481759 70533 421618 43784 15017 92423 225215 396505 418310 471415 151866 24081 220755 300977 175572 153728 73146 352475 53766 95108 311019 297452 99224 205533 298099 111705 436613 148366 74004 340456 299697 209998 168467 180979 99...
output:
529233344 529233344 529233344 526495802 529233344 528995372 529233344 529233344 529233344 529233344 527034133 529233344 529233344 528876395 528233185 529233344 529233344 529233344 529233344 528659338 529233344 527093416 528858160 529233344 527034133 527890886 529233344 529233344 528956126 529233344 ...
result:
ok 3000 numbers
Test #18:
score: 0
Accepted
time: 7ms
memory: 74436kb
input:
3000 2000 168963 196166 302361 33035 25174 212386 181263 43267 444394 285143 172124 81088 258830 476350 245387 195704 262555 138169 47086 462829 422185 70674 168505 475309 91517 125813 285313 181031 333565 235637 329045 446174 141699 125943 376815 339095 431684 300602 200899 401273 260987 298286 101...
output:
622026122 622053325 621957053 622081145 621885624 622069545 622038422 621993904 622081145 622081145 622081145 622056942 622081145 622081145 622081145 621833292 621976480 621995328 621904245 622081145 622081145 621927833 622081145 622081145 622081145 621794284 622081145 622038190 622081145 622081145 ...
result:
ok 3000 numbers
Test #19:
score: 0
Accepted
time: 1022ms
memory: 970232kb
input:
40000 2999 280266 433480 113244 331824 86713 245914 128246 405001 256101 23340 389100 256926 303281 266445 323768 296373 409059 371343 255536 248025 424647 219048 206559 335010 327166 475814 295615 288335 105522 469184 115059 369635 227372 146280 417304 97038 464567 379941 147916 450516 453399 41668...
output:
761199182 748016221 767637909 756725400 758634820 758634820 749236728 758634820 747212164 751343205 756725400 766707598 756725400 768525328 766707598 756725400 755270777 756184345 758460336 761357252 758634820 758460336 747212164 749236728 749236728 747212164 756169280 758460336 761199182 750693639 ...
result:
ok 40000 numbers
Test #20:
score: 0
Accepted
time: 1048ms
memory: 968304kb
input:
40000 2998 485782 423015 278364 35139 346098 269675 455403 287454 316027 339363 441535 212195 370551 374648 37576 22962 164716 191262 453330 281037 345331 426291 93577 286909 169994 155352 23359 336447 173164 304658 126457 62924 301889 16642 255267 21214 261377 44394 330713 66008 228730 291491 14317...
output:
869746555 857043618 875153747 854964080 873409255 873409255 849720837 873409255 851273882 872919722 856534721 861374818 854187183 873677051 861514926 856390352 861514926 861433355 858821874 861514926 873409255 859967805 851273882 854871338 859832021 851159329 857419591 858821874 873409255 856534721 ...
result:
ok 40000 numbers
Test #21:
score: 0
Accepted
time: 216ms
memory: 968320kb
input:
40000 2997 253956 175405 44222 300155 352410 61537 423674 499193 482425 384208 480591 230597 98118 396858 455276 105502 401052 85602 27208 254238 341704 195441 246467 481040 248858 100324 376618 470722 449024 335855 173352 132782 330989 105348 171608 203698 277251 279323 96788 483511 212902 169374 2...
output:
1442159321 1442080770 1441949587 1442205520 1442257775 1441966902 1442329039 1442367458 1442367458 1442289573 1442367458 1442135962 1442003483 1442302223 1442360641 1442010867 1442306417 1441990967 1441932573 1442159603 1442247069 1442100806 1442151832 1442367458 1442154223 1442005689 1442281983 144...
result:
ok 40000 numbers
Test #22:
score: 0
Accepted
time: 704ms
memory: 968720kb
input:
40000 2999 325787 114232 451902 342832 285995 243231 295794 356447 260389 128357 94643 202930 324613 462209 151675 49337 414785 395040 10344 34485 196340 93288 442785 357455 128934 472863 240429 461963 195793 491838 483994 145823 106483 218437 350995 349603 73290 123355 406764 31069 329308 4605 3254...
output:
1335250952 757041735 1335317418 1234438072 1335211160 1335168396 1285801763 1335281612 1285766358 1285634326 1219550934 1335128095 1259519151 1335317418 1335076840 1083999348 820772312 886811858 763881009 999112966 1335121505 763881009 1285865008 1285863424 1285634903 1285865008 763881009 763881009 ...
result:
ok 40000 numbers
Test #23:
score: 0
Accepted
time: 978ms
memory: 968456kb
input:
40000 2998 441081 106747 38943 439094 40396 6243 266004 41447 389903 26087 327348 327670 439327 415320 467429 203902 177134 380618 412532 175496 16964 406348 58484 430471 435524 130862 280930 319509 383896 175173 246788 235236 296195 335875 494498 178741 245984 115206 276000 21758 363316 275749 4088...
output:
784709480 789681875 789021254 783910295 776705041 783151049 778218691 781040384 783748469 785418021 783193746 783151049 783910295 783449506 783361421 786331195 776772890 769321715 778215005 776065851 783792245 781379859 787259972 782090311 791752821 786987465 778793079 776569660 783694906 787218378 ...
result:
ok 40000 numbers
Test #24:
score: 0
Accepted
time: 687ms
memory: 967840kb
input:
40000 2997 488032 283895 8172 325322 311094 33047 399588 20150 101894 201978 328580 137582 214415 290078 116374 97195 291619 459399 265791 60339 143661 78083 134520 433300 305823 334784 49044 12774 6548 336486 210209 313607 115790 169355 37178 129526 118758 66288 55215 436494 15614 126392 124681 739...
output:
1055126531 1053951151 1054676541 1055087549 1050276322 1053428889 1051262347 1052464927 1053242602 1054965473 1054697928 1053784051 1054675742 1055121905 1053470988 1054688984 1053715964 1054989437 1053375329 1053164584 1049129486 1053039987 1051618222 1054834980 1053722508 1055113667 1054565015 105...
result:
ok 40000 numbers
Test #25:
score: 0
Accepted
time: 956ms
memory: 948188kb
input:
39996 1994 1 4 1 2 1 3 3 1 1 1 4 1 3 4 2 3 4 3 3 4 3 1 4 2 3 1 2 2 4 1 4 2 2 2 1 1 2 1 2 3 3 2 3 2 1 2 2 2 1 1 4 2 3 2 4 3 1 3 2 2 1 3 3 3 4 3 4 2 3 2 3 4 3 2 4 2 1 1 3 2 4 2 1 1 3 1 2 2 4 4 4 4 3 2 2 4 1 1 2 4 1 2 4 4 1 1 3 2 2 4 2 4 1 2 2 1 1 3 1 1 4 2 2 1 4 2 2 1 3 3 2 3 3 4 2 1 2 4 1 1 4 4 1 3 3...
output:
5060 5060 5098 5042 5066 5066 5039 5031 5065 4975 5045 5059 5011 5059 5059 5045 5021 5021 5013 5021 5066 4994 5068 5041 5041 5068 5013 5013 5057 5005 5013 5036 5013 5066 5057 5098 5098 5098 5068 5036 5098 5098 5079 5045 5060 5045 5013 5098 5060 5031 5066 5060 5041 5013 5083 5059 5098 5091 5013 5021 ...
result:
ok 39996 numbers
Test #26:
score: 0
Accepted
time: 962ms
memory: 946872kb
input:
39994 1991 1 1 1 1 4 4 2 3 2 2 3 4 3 1 4 1 3 2 3 4 4 4 3 2 4 4 3 3 3 4 4 1 2 1 4 4 4 2 4 4 2 2 3 4 3 1 3 4 1 3 1 3 2 4 4 2 3 4 3 3 3 3 3 1 3 1 4 3 2 2 3 4 4 1 2 3 4 4 1 4 1 2 1 4 3 3 3 2 3 3 2 2 1 1 3 4 4 2 2 3 4 1 4 2 2 1 4 4 2 4 1 2 2 2 3 2 3 3 1 2 1 2 4 2 1 2 4 1 1 3 2 1 2 2 1 1 1 2 2 1 4 3 4 3 3...
output:
5580 5600 5597 5579 5593 5619 5617 5620 5649 5620 5595 5540 5557 5576 5592 5613 5660 5661 5635 5661 5620 5661 5622 5561 5559 5649 5567 5661 5581 5606 5608 5626 5616 5620 5581 5595 5597 5596 5588 5651 5596 5596 5597 5649 5557 5649 5622 5597 5556 5620 5593 5557 5566 5608 5580 5576 5597 5597 5625 5661 ...
result:
ok 39994 numbers
Test #27:
score: 0
Accepted
time: 181ms
memory: 946548kb
input:
39999 1993 4 3 1 1 3 4 1 1 4 2 3 2 2 1 3 3 3 4 4 4 3 2 2 2 1 3 1 2 4 3 1 4 4 2 2 1 1 1 4 3 4 2 2 3 2 1 1 1 3 4 3 1 2 2 1 3 4 4 3 1 1 2 1 4 1 3 1 4 4 2 1 2 3 1 4 3 1 2 1 4 4 2 2 3 1 2 3 4 1 3 2 1 2 4 3 2 2 2 3 1 3 3 4 3 2 4 4 4 2 3 1 1 1 2 1 4 3 2 3 1 1 3 2 1 1 3 1 1 2 2 3 4 4 1 1 2 4 4 4 1 3 3 4 1 4...
output:
7969 7968 7966 7966 7968 7969 7966 7966 7969 7967 7968 7967 7967 7966 7968 7968 7968 7969 7969 7969 7968 7967 7967 7967 7966 7968 7966 7967 7969 7968 7966 7969 7969 7967 7967 7966 7966 7966 7969 7968 7969 7967 7967 7968 7967 7966 7966 7966 7968 7969 7968 7966 7967 7967 7966 7968 7969 7969 7968 7966 ...
result:
ok 39999 numbers
Test #28:
score: 0
Accepted
time: 572ms
memory: 948496kb
input:
39997 1994 3 3 3 4 1 4 3 2 4 3 1 4 2 3 2 2 1 3 3 2 3 3 4 1 3 3 2 4 1 1 3 3 2 4 2 1 4 4 1 2 1 1 3 4 4 3 4 1 1 3 4 4 3 1 1 3 4 1 2 1 4 2 2 4 3 1 3 1 3 4 4 1 2 1 1 4 2 1 1 1 4 1 3 2 2 1 1 1 3 3 2 2 3 2 4 3 1 1 4 1 3 1 3 4 4 3 1 1 3 3 3 3 1 3 1 2 1 4 4 2 3 3 3 4 2 3 3 1 2 2 2 1 4 1 1 2 2 4 3 3 2 1 2 3 1...
output:
7975 7975 5020 7976 5761 5076 7018 5078 7975 5085 7972 7976 7973 7975 5078 7974 5085 7975 7974 7032 7975 5085 5977 7972 7974 7975 7973 7975 7972 5105 7975 7719 7974 7975 5078 7973 7975 7975 7972 7974 7973 4971 5078 6217 6434 5076 7975 6661 7972 7975 7975 7976 7975 5030 7972 5708 7976 7973 5105 7973 ...
result:
ok 39997 numbers
Test #29:
score: 0
Accepted
time: 736ms
memory: 947148kb
input:
39990 1994 3 1 3 4 4 3 2 3 1 2 4 1 2 2 3 3 4 2 4 4 1 4 4 4 1 3 4 4 1 3 4 4 1 4 3 2 3 1 4 4 1 3 4 4 2 3 1 2 4 2 3 2 4 3 1 2 4 1 2 2 2 1 2 3 1 3 1 1 2 3 4 3 4 2 4 4 3 4 2 4 2 3 4 4 2 2 4 1 2 2 1 4 3 3 3 1 4 1 4 4 1 3 4 4 2 3 2 3 3 4 4 2 2 3 4 3 1 3 1 4 1 4 4 4 4 2 2 3 3 2 3 2 3 2 2 1 1 1 2 4 1 2 2 3 4...
output:
5181 5148 5179 5119 5169 5221 5169 5133 5169 5115 5101 5221 5112 5080 5181 5149 5135 5166 5092 5124 5198 5144 5208 5194 5162 5199 5180 5146 5119 5103 5191 5186 5194 5221 5127 5179 5155 5154 5208 5197 5156 5179 5136 5179 5162 5165 5141 5179 5196 5124 5169 5196 5166 5163 5096 5088 5119 5113 5100 5131 ...
result:
ok 39990 numbers
Test #30:
score: 0
Accepted
time: 586ms
memory: 947432kb
input:
39992 1999 4 2 4 1 3 1 3 4 2 3 3 2 1 3 3 1 3 4 4 3 1 3 2 4 3 3 4 4 4 3 3 2 3 4 3 3 4 2 3 2 4 2 3 1 1 2 3 3 2 2 3 1 4 4 4 4 1 3 4 2 4 2 1 4 2 3 1 4 1 4 1 4 4 1 1 4 2 4 2 1 4 4 3 3 2 3 1 3 3 1 1 2 1 1 3 3 1 2 2 4 3 1 4 2 3 4 3 3 2 3 2 4 1 3 4 3 3 3 1 4 3 3 1 4 1 3 4 4 3 3 4 2 3 1 2 4 1 1 4 1 1 4 4 2 1...
output:
6642 6643 6627 6644 6617 6622 6620 6644 6636 6646 6646 6631 6647 6636 6641 6644 6638 6636 6642 6644 6633 6643 6608 6612 6626 6615 6638 6629 6640 6641 6645 6634 6645 6636 6624 6633 6644 6631 6616 6632 6631 6637 6624 6618 6644 6614 6612 6623 6630 6645 6644 6623 6619 6640 6647 6640 6634 6637 6641 6630 ...
result:
ok 39992 numbers
Test #31:
score: 0
Accepted
time: 52ms
memory: 328720kb
input:
39993 1 399465 426286 72340 274844 31958 27746 313332 346581 393673 80677 352455 309763 60849 132710 448240 139659 239502 322875 209622 397538 489964 472213 75479 377125 243766 250186 75032 108051 55883 163563 282821 499095 162168 279798 17798 225907 15087 239664 246319 175917 478175 192838 331600 4...
output:
399465 426286 72340 274844 31958 27746 313332 346581 393673 80677 352455 309763 60849 132710 448240 139659 239502 322875 209622 397538 489964 472213 75479 377125 243766 250186 75032 108051 55883 163563 282821 499095 162168 279798 17798 225907 15087 239664 246319 175917 478175 192838 331600 417586 47...
result:
ok 39993 numbers
Test #32:
score: 0
Accepted
time: 48ms
memory: 328924kb
input:
39994 2 35748 379063 104935 138500 191295 329213 46427 408629 28667 21030 134039 344893 477002 300927 201536 177702 418682 335787 95009 365459 216913 282673 391378 309373 287199 295068 126312 487601 87946 64155 141761 97063 36125 21201 463176 95278 312190 286709 484401 238399 297129 459993 21870 100...
output:
270564 677306 530243 306189 664561 574294 395587 805229 522641 520674 632994 831810 913631 607250 533311 370510 855023 548721 317479 404663 700107 494019 495117 685994 339806 352826 389982 983231 544956 472114 629143 535273 414365 409737 953200 296861 726401 648141 644714 500433 398459 937640 342436...
result:
ok 39994 numbers
Test #33:
score: 0
Accepted
time: 28ms
memory: 327488kb
input:
39993 3 453572 187430 252553 301266 484058 469015 300031 159835 197583 303286 229721 427819 419695 354503 312644 284719 293213 115021 185321 41623 270835 198632 175312 151202 268564 128787 263166 50873 362383 403233 373666 345413 482270 122921 282716 364356 350610 418396 331059 367805 448407 30697 1...
output:
1416780 1150638 1215761 1264474 1447266 1432223 1263239 1123043 1160791 1266494 1192929 1391027 1382903 1317711 1275852 1247927 1256421 1078229 1148529 1004831 1234043 1161840 1138520 1114410 1231772 1091995 1226374 1014081 1325591 1366441 1336874 1308621 1445478 1086129 1245924 1327564 1313818 1381...
result:
ok 39993 numbers
Test #34:
score: 0
Accepted
time: 31ms
memory: 331068kb
input:
39999 4 497809 428296 61805 193197 224672 219770 73868 73029 376319 336937 214155 345393 495411 343527 151969 276085 423617 215630 433957 486057 371941 465824 308471 273709 472986 1732 286867 186459 460092 294610 100256 171444 203731 68793 179825 59874 440489 487080 9228 229188 80851 223100 143895 4...
output:
1778912 1709399 1315523 1474300 1368465 1274132 1001048 1227258 1737614 1505735 1575450 1626496 1856706 1624630 993526 1557188 1217457 1496733 1795252 1522771 1653044 1266501 1193617 1635004 1834281 1282835 1648162 1547754 1821387 1480049 1381359 879932 1484834 1430088 1118122 1340977 1801784 184837...
result:
ok 39999 numbers
Test #35:
score: 0
Accepted
time: 44ms
memory: 331628kb
input:
39997 5 203006 146744 58639 321565 397665 424060 456516 144134 271646 157998 357116 171167 397873 194419 119727 258913 457983 291226 415912 36806 201476 27706 181179 485725 449483 388420 248624 22110 303120 341136 403124 293645 358810 332790 454563 249070 467545 299916 120071 420524 442127 153710 44...
output:
1802677 1562552 1147467 1530711 1631557 1659449 1550034 1210652 1764866 1544143 1391774 1857626 1436230 1226333 1583044 1960205 1490412 1413455 1734611 842355 1538057 1344479 1871525 2300026 1724357 2079655 1731598 1173919 1675775 1298928 1830527 1633649 1271413 1831863 1948812 1479068 2048066 15951...
result:
ok 39997 numbers
Test #36:
score: 0
Accepted
time: 48ms
memory: 331948kb
input:
39994 6 407857 439869 111142 179594 140644 236510 274484 51219 150570 400654 469609 94210 323340 88819 182430 255786 195345 139325 489872 470498 98732 291677 423365 412182 117716 151268 140674 340696 17207 38211 23010 148057 268766 376088 391362 433008 28310 476244 23927 384086 352313 347256 434177 ...
output:
1606177 2082358 1867567 2200808 1753594 1745525 1138149 1881576 1932173 2357319 2222152 1936892 2102108 1879425 2158614 2091080 2179522 1745521 2313822 2446534 2024511 1843638 2318306 1885164 2061701 2178024 1887238 2108496 1334663 2073206 1533747 1294707 2199499 2204781 1776724 2132451 1409835 2162...
result:
ok 39994 numbers
Test #37:
score: 0
Accepted
time: 936ms
memory: 949008kb
input:
39994 1991 12826 399575 129508 354552 144733 339886 28494 476697 415297 399994 87059 320613 173574 399804 196799 173982 441287 17630 54851 240894 393175 373675 367905 124441 225226 129611 486207 164666 404439 193439 119791 321731 378295 337362 263208 232304 84750 295159 399843 148215 472960 122802 1...
output:
508148582 506732467 501429353 490864547 510351603 511966941 503773999 510952661 495719687 498040411 490864547 506030771 490864547 495479909 513253740 490864547 509294358 509915892 500542347 513848798 511966941 499289545 492619364 503773999 503773999 495186790 505068720 499289545 508148582 507957555 ...
result:
ok 39994 numbers
Test #38:
score: 0
Accepted
time: 960ms
memory: 947408kb
input:
39993 1992 258607 363295 21875 389368 303625 26827 19713 252190 202882 370919 201631 340361 45032 132239 436242 153844 470199 491909 111022 156193 191423 132836 356691 368615 63508 482387 319374 3870 359871 85132 76069 343473 254028 402180 134858 268837 208718 306202 489137 107828 318569 390248 1226...
output:
574471935 576440010 575786826 572552056 579732394 578598724 573080591 569678884 581044058 578857153 575902381 576855133 580810957 576695522 578108014 570660332 578857153 576855133 581044058 573325751 571787710 578857153 573440989 576440010 575902381 574471935 576440010 575429461 575902381 579732394 ...
result:
ok 39993 numbers
Test #39:
score: 0
Accepted
time: 180ms
memory: 947436kb
input:
39990 1998 88184 94615 234255 299057 455567 488044 272047 185680 67128 425858 424568 196777 194665 145459 76918 53406 335073 199367 195487 369699 148014 344991 55002 85890 143989 457428 217030 62786 3830 70299 98134 205577 490641 334200 61422 481101 158004 432637 9 428810 355320 78918 369773 426772 ...
output:
972177774 972184205 972323845 972388647 972545157 972563608 972361637 972275270 972156718 972515448 972514158 972286367 972284255 972235049 972166508 972142996 972424663 972288957 972285077 972459289 972237604 972434581 972144592 972175480 972233579 972547018 972306620 972152376 972093420 972159889 ...
result:
ok 39990 numbers
Test #40:
score: 0
Accepted
time: 573ms
memory: 948544kb
input:
39999 1994 417219 107470 175337 195286 139354 487538 421792 145642 261046 46173 23997 490782 208851 77276 213390 384077 305989 84974 493878 400976 250849 68653 101597 206603 187440 439064 21909 270593 225926 216605 148365 38940 170257 162398 406739 313627 306462 74756 451125 496652 263812 108924 657...
output:
920571251 920261502 504633500 920349318 630705252 513664260 795739605 503785964 905842777 513664260 905605728 920577477 905790582 920231308 505310495 920538109 513664260 920239006 905989382 797121003 920404881 513664260 650953235 905788334 905769171 920577477 905603640 905852324 905807657 504042494 ...
result:
ok 39999 numbers
Test #41:
score: 0
Accepted
time: 703ms
memory: 946624kb
input:
39997 1995 130226 330056 116350 459369 215425 243529 271836 364225 359173 474 454522 383692 296017 185581 352098 136550 307230 248896 285933 331329 461526 424573 143067 343285 312992 116940 342934 25452 430616 146509 442137 291594 246783 126932 289381 443661 58785 325305 33690 334779 74335 389175 19...
output:
520592894 517968612 517133119 510951345 523472098 518656977 515467132 506219763 513538783 519794304 517074614 511702341 517968612 523502144 519462046 521248087 517924759 523502144 514334268 515413097 520028949 520592894 513206799 512620697 516944895 520592894 508597789 513538783 516944895 523502144 ...
result:
ok 39997 numbers
Test #42:
score: 0
Accepted
time: 588ms
memory: 947888kb
input:
39996 1996 246537 148742 236953 467591 294827 253885 106780 232592 358662 311987 238614 247658 220665 153473 382856 441965 165555 317493 286262 278836 118376 362535 35479 339908 159493 214928 360417 404222 389101 217806 176424 436916 210778 259806 66363 16052 252231 158616 322798 249346 455475 27630...
output:
713496130 713807091 713021008 714678776 710208494 709940413 714441586 709780677 712741655 710794259 714573420 713402916 714555471 710763716 713264473 714404482 713806416 714368918 712644820 713969970 713201873 713298657 711246675 711790987 713625683 713044242 714256747 714045702 710822379 714010931 ...
result:
ok 39996 numbers
Test #43:
score: 0
Accepted
time: 933ms
memory: 947952kb
input:
39994 1991 199497 331625 73547 64561 382642 380677 184663 466237 222185 233021 266877 275685 10765 437859 48356 370989 263910 47250 326466 234698 146338 493427 75809 448125 283534 438970 45285 269047 302023 376442 10 344874 478809 89728 201323 395035 155025 33258 10645 309487 225357 198841 184452 28...
output:
485475158 477208418 480644511 481552411 480755667 482376657 481576463 482376657 480963431 476727990 482639510 486402944 475200824 479586495 489619552 485356516 478559801 483434153 488289278 490113669 482376657 488289278 486002279 477973030 475935498 486002279 479887489 488289278 482364010 489398363 ...
result:
ok 39994 numbers
Test #44:
score: 0
Accepted
time: 926ms
memory: 947480kb
input:
39993 1992 426150 489833 11916 223084 215331 83122 396081 431078 307694 444518 151897 130619 189006 381939 134574 319080 477340 275275 89495 171320 312413 81797 281369 394710 11213 421915 443583 5 174769 494898 260892 9 278351 440400 339364 123341 38946 455888 497139 138758 313286 456072 476622 2339...
output:
564511495 546661892 553499702 561356425 556543519 558036475 555256785 552814104 539341110 558555530 560491387 561212783 546454869 563825832 558450331 563014792 558555530 563817488 539065212 555159186 564296610 558162114 548597039 546661892 560376121 564511495 546578262 560186692 560408761 556543519 ...
result:
ok 39993 numbers
Test #45:
score: 0
Accepted
time: 163ms
memory: 948120kb
input:
39990 1998 278015 107629 284009 153589 50176 391693 494373 148665 52054 106727 308257 38489 350319 441767 429887 490862 166439 353847 432811 174350 77932 368619 475705 119966 41538 308562 4 225255 71433 498026 55772 173228 311665 8786 197044 188054 317554 341526 761 51439 433515 10 366324 349370 399...
output:
972064399 971894013 972070393 971939973 971836560 972178077 972259865 971935049 971838438 971893111 972094641 971824873 972136703 972228151 972216271 972259865 971952823 972140231 972219195 971960734 971864316 972155003 972259865 971906350 971827922 972094946 971786388 972011639 971857817 972259865 ...
result:
ok 39990 numbers
Test #46:
score: 0
Accepted
time: 563ms
memory: 947928kb
input:
39999 1994 287021 36172 289776 318998 187448 47139 3 479248 181452 219627 356303 92368 455310 304659 433375 295566 384117 309015 197753 246729 400279 119216 41545 121931 20210 50184 392174 200072 8 118011 381327 2791 259788 6 135939 103758 259051 419019 351855 206831 211046 37151 321740 402948 10 39...
output:
917319877 917069028 483965480 917351854 611150895 484215005 787048852 484233967 899332854 485314390 899507705 917125224 899555682 917337515 486371121 917328422 485314390 917341871 899349155 789146226 917433135 486371121 632693510 899273333 899171612 917083040 899543576 899351474 899151410 484594005 ...
result:
ok 39999 numbers
Test #47:
score: 0
Accepted
time: 705ms
memory: 946784kb
input:
39997 1995 232408 217030 3 204124 239234 197304 4 99873 408559 378719 326572 451833 445536 162806 330581 197178 470117 42669 478264 451950 347867 191698 54999 371320 410713 3585 36643 165106 366135 486896 172409 396457 455864 302300 334029 354796 431782 271796 105267 166805 433886 263640 11185 15335...
output:
504051556 500780792 489889014 487581597 487572243 494259434 500780792 494526626 502167214 496255027 503397015 494876061 501150475 493569934 497221239 494872609 496370312 492730010 499374247 500780792 498910788 502250918 496847334 495727062 501150475 504051556 497622213 502387088 501150475 493134366 ...
result:
ok 39997 numbers
Test #48:
score: 0
Accepted
time: 931ms
memory: 968432kb
input:
39997 2994 427860 113909 321970 189986 331855 490299 269216 390969 58921 447243 30165 20767 391689 375672 362977 5 467454 3 271751 448095 395494 89249 236035 85390 8295 388146 238216 1848 418565 61310 104097 346180 246901 324212 100165 127989 204078 216185 40823 131983 444996 160037 308194 111596 42...
output:
744871007 751112783 746264919 751990145 747573290 740310841 750572211 743709848 743219767 739357531 749838308 751902817 751112783 750681876 737869396 749278102 739067097 750871153 745491145 750572211 745149253 740954837 744944496 751990145 752090843 745774037 747937552 744037323 752090843 746364334 ...
result:
ok 39997 numbers
Test #49:
score: 0
Accepted
time: 954ms
memory: 968088kb
input:
40000 2995 306291 132516 31771 208665 499361 204428 171031 305379 207353 476952 282309 330610 240730 300944 42762 427932 174495 343313 137439 48036 15628 335319 420133 179155 451078 52588 31650 488727 111398 470757 378378 132980 247058 398621 319939 38946 1 283579 268808 467252 200158 428348 154794 ...
output:
753172385 753170342 760447375 752839621 749378024 746765732 754038458 751684530 759903760 753890454 752562522 746765732 753613712 750051333 738971511 752197608 753478317 744510298 751706272 751263091 746813066 749439526 757463501 750655030 762804826 760982906 746770015 752695346 759157003 758564355 ...
result:
ok 40000 numbers
Test #50:
score: 0
Accepted
time: 639ms
memory: 967448kb
input:
39996 2999 457423 80962 352879 4 283369 466546 424866 231903 389677 8 37637 125262 272615 461745 259465 59798 144868 2 256089 74945 4217 186429 490981 84912 247889 319216 344801 485522 390072 11475 281822 142478 52529 71914 127295 84572 483635 248218 317044 201835 153168 109840 347783 240824 77863 3...
output:
1019833037 1021635753 1020536589 1022279143 1020445242 1022510089 1018357152 1021123579 1022187434 1021703195 1022609401 1019508847 1022609401 1021347137 1020638051 1022085024 1021796854 1021173278 1022609401 1022001488 1021829908 1020263394 1018071491 1020575422 1020284978 1021749769 1022609401 102...
result:
ok 39996 numbers
Test #51:
score: 0
Accepted
time: 59ms
memory: 332020kb
input:
39997 1 338125 235298 60914 259255 109910 486936 33546 50190 472848 283796 64048 269961 492334 3 216147 495491 34149 296397 74064 109407 253225 192868 383807 181768 306090 477970 224344 358755 213733 462259 7279 344876 28820 219402 6643 333988 87405 318528 460754 365295 493952 193305 149709 307444 2...
output:
338125 235298 60914 259255 109910 486936 33546 50190 472848 283796 64048 269961 492334 3 216147 495491 34149 296397 74064 109407 253225 192868 383807 181768 306090 477970 224344 358755 213733 462259 7279 344876 28820 219402 6643 333988 87405 318528 460754 365295 493952 193305 149709 307444 298229 38...
result:
ok 39997 numbers
Test #52:
score: 0
Accepted
time: 55ms
memory: 331212kb
input:
39994 2 356152 375847 86883 255173 251737 393625 88638 487927 328008 87938 222480 252738 265295 9 29330 58077 61959 86702 281093 360265 350374 447740 318281 151638 18126 6 251569 303662 245486 337708 455779 27322 150319 439156 372560 60071 431156 450183 283232 192880 405917 207563 142730 478155 4360...
output:
507398 826164 401464 598889 575625 780922 484065 967913 783598 429157 549261 520561 674324 267376 142601 125526 481181 535346 577732 835415 749908 801183 695792 645182 516324 170737 678655 753423 589410 715153 876220 348802 613894 872539 631421 245957 678529 903194 637003 340005 494184 557352 332194...
result:
ok 39994 numbers
Test #53:
score: 0
Accepted
time: 15ms
memory: 330644kb
input:
39993 3 11923 357755 467377 209982 43128 5 151490 332698 4471 4 134578 457937 128043 398491 238161 74955 136399 77604 154978 51747 446378 6 201383 3352 314013 10 11524 363756 21822 124238 227693 104190 478694 292829 456153 392413 80931 29271 146635 440238 292967 348346 74640 197772 103135 496628 164...
output:
677814 1023646 1133268 875873 709019 665896 817381 998589 670362 665895 800469 1123828 793934 1064382 904052 740846 802290 743495 820869 717638 1112269 665897 867274 669243 979904 665901 677415 1029647 687713 790129 893584 770081 1144585 958720 1122044 1058304 746822 695162 812526 1106129 958858 101...
result:
ok 39993 numbers
Test #54:
score: 0
Accepted
time: 44ms
memory: 332604kb
input:
39995 4 152452 277333 440760 418253 288379 316169 76028 17950 154684 209791 464052 76179 92547 13772 118459 308091 497154 392855 388804 69509 163457 2 434945 290364 75580 139420 237740 22024 2 358529 210314 213311 105921 31948 328760 3 352314 171318 282175 288984 194784 121564 374403 387196 85490 30...
output:
1571757 1696638 1440957 1837558 879528 1524140 968728 640673 1188228 1290348 1497596 1495484 1126091 1433077 1114278 1727396 1541658 1812160 1422348 1408667 1582762 1174257 1739681 1323908 1109124 1558725 1271284 1055568 1033546 1366641 1629619 1339601 1525226 1065492 1072085 1419308 1385858 1204862...
result:
ok 39995 numbers
Test #55:
score: 0
Accepted
time: 35ms
memory: 331076kb
input:
39996 5 419719 70650 471464 477420 385088 386429 116292 476625 418465 405237 356804 492667 447748 412863 428450 424686 161283 168831 171475 112253 50552 375219 419543 365833 10 5866 203639 485967 355849 454053 146372 317595 13022 192848 285952 383198 497486 437335 373425 3 476637 274751 166530 18560...
output:
1914307 1264378 1274172 2002481 1791055 1678654 1573765 2001463 1911199 1326683 1888924 1633194 1465526 1865736 1718840 1847484 1079482 1203158 1538740 847148 1031368 1610106 1655041 1441797 1047071 917854 1287497 1130306 1181628 1576172 1306117 1230505 1354720 1503591 1465828 1709190 1306670 149578...
result:
ok 39996 numbers
Test #56:
score: 0
Accepted
time: 48ms
memory: 332212kb
input:
39994 6 10 454405 101602 372673 157484 346243 64647 71128 142853 240590 80924 460783 117307 412381 247236 346185 343436 494352 355937 455904 430626 299710 211764 432932 229870 249439 325733 224643 93457 220229 300070 2988 449002 173791 335255 366364 133351 291505 308086 493684 317714 478125 227280 3...
output:
1864723 1772271 1898723 1570747 2055083 2451609 1824083 1956164 1408767 2057093 1785228 1923750 1754365 2115069 1434922 1965643 1989496 2033854 2320177 2330275 2354272 1868704 2024362 2271011 1577300 1860574 1823509 1900981 1986301 1900947 2540318 1728930 2088336 1826092 1760649 2370432 1439683 2007...
result:
ok 39994 numbers
Test #57:
score: 0
Accepted
time: 123ms
memory: 362984kb
input:
40000 100 325269 493542 26827 217741 311754 62834 93536 49348 69606 327855 314364 455319 133878 191957 257626 14286 49432 5192 111833 48848 64782 157179 346442 65777 486360 468956 350826 114576 466204 123862 424314 290899 329391 280785 34545 133113 457092 261336 413551 247275 173264 493900 57492 363...
output:
26564660 27351068 28497786 26633519 25772759 27535683 26473527 26533846 27888712 27433465 25880454 25041008 26893681 25535946 27549460 25192986 25216639 24071344 25929051 25792675 26743783 26636834 27011032 27657084 24847737 25529404 25492614 26059995 24146888 24211483 27033001 25329050 22895226 270...
result:
ok 40000 numbers
Test #58:
score: 0
Accepted
time: 124ms
memory: 362064kb
input:
40000 100 106127 267366 492255 198103 57776 143753 181378 165751 319326 251091 332996 106450 242456 458922 78337 399018 144249 334325 251024 23694 341269 440953 200839 291847 110462 136333 404906 40212 461136 441637 448943 345412 273578 193974 498175 386788 299879 107708 43083 431888 284957 278172 1...
output:
30670923 30956633 30701307 30490854 28859975 30462036 30931527 29606727 28755456 30440122 31093751 29779956 30794567 30119626 29450788 31250792 30050017 30656258 27904352 29856098 31986887 32269051 29220921 29169935 31412426 30194299 28463550 28905624 29107115 29290206 30681145 29159019 29003521 303...
result:
ok 40000 numbers
Test #59:
score: 0
Accepted
time: 19ms
memory: 361076kb
input:
40000 100 302688 416252 458274 139448 358977 131179 12168 87112 289041 42731 161664 480133 476835 269539 153799 231259 303970 139327 485673 149592 278615 208880 337260 328442 91005 208386 22728 322264 267781 128063 31710 479621 174067 184026 86872 123922 373809 48253 288506 64177 402068 493282 14177...
output:
49632975 49746539 49788561 49469735 49689264 49461466 49342455 49417399 49619328 49373018 49491951 49810420 49807122 49599826 49484086 49561546 49634257 49469614 49815960 49479879 49608902 49539167 49667547 49658729 49421292 49538673 49353015 49652551 49598068 49458350 49361997 49809908 49504354 495...
result:
ok 40000 numbers
Test #60:
score: 0
Accepted
time: 82ms
memory: 362532kb
input:
40000 100 403494 174295 173997 196045 478333 270551 471484 468090 382407 432872 52610 434028 398314 387722 118237 267250 22454 285786 432049 45708 336475 339930 82669 88222 63936 466005 230232 288204 89178 146516 69057 291278 17014 385647 225132 161486 65815 280559 396591 84724 324981 371420 263307 ...
output:
49330493 29861261 49100996 28481027 49405332 49197550 49689258 49395089 49600181 49650646 26948109 49361027 27370598 49314721 49045236 26629768 26463268 25657862 28182281 26335141 49263474 25402073 49300443 49305996 49281710 49683779 24944674 27205782 49016177 25171536 24668778 26150822 26689292 493...
result:
ok 40000 numbers
Test #61:
score: 0
Accepted
time: 99ms
memory: 358048kb
input:
40000 100 471596 273553 357017 318051 406200 199524 154992 381772 199965 290310 476260 196434 76688 281713 82675 13641 399723 208053 102617 7232 427039 195173 295374 123811 195651 223625 227335 254144 377871 164968 139107 135640 51448 54563 139199 390538 290526 269761 471972 348375 472087 492663 193...
output:
28446044 26679038 29057470 26648438 26259666 28679430 28571254 25950223 22642982 27065955 29028269 28679430 26822550 25151554 26292857 26866692 26137301 29371755 27300780 24505765 27748330 23922978 27934624 24853529 25621695 28199318 23094623 25490042 27671778 25874338 28351201 26271983 27045099 286...
result:
ok 40000 numbers
Test #62:
score: 0
Accepted
time: 107ms
memory: 358316kb
input:
40000 100 342600 372569 482215 29442 69509 437908 439052 432678 230591 318344 195757 488425 228232 156278 136982 278740 84091 60821 406935 176320 487508 11869 459402 430694 291481 12848 138748 216676 278945 291728 192602 117136 20595 340501 406764 207951 386651 270710 171715 183485 309925 359813 442...
output:
35878219 38412840 35099532 39480590 34028365 33378715 34629410 34897095 33302565 34542672 39093681 36612674 39679380 34661976 35542740 38952808 35729782 35472817 37035871 37376212 35459135 36596372 32290830 35056176 34332656 32918775 36681414 36672275 33610737 38324340 37169164 34645723 37618705 353...
result:
ok 40000 numbers
Test #63:
score: 0
Accepted
time: 563ms
memory: 640088kb
input:
40000 1000 16247 150467 250236 470208 356470 37796 145335 33105 351593 387861 378268 243827 103129 15055 408653 53444 257766 327613 373614 75368 387898 344525 249219 258741 479938 226171 385124 146579 148683 187120 188549 96934 393689 67173 305510 435908 183544 55423 184969 145836 5869 349038 436782...
output:
249017605 252977289 251501899 251361551 253541281 254940870 259476343 254423107 251952990 252322835 251361551 259760512 251361551 257814994 251722968 251654936 263927452 263927452 255660828 257864461 254940870 260241101 253126654 254904251 256279318 252518585 254178076 254993643 255356837 254791947 ...
result:
ok 40000 numbers
Test #64:
score: 0
Accepted
time: 574ms
memory: 639892kb
input:
40000 1000 493043 306020 291993 194903 167320 109275 432753 353644 370387 97580 215705 487179 111413 391984 7043 376058 266514 446371 41673 32249 139978 28989 365414 451196 20561 244306 125600 246494 45990 486840 471306 62878 2211 47724 420508 207351 255120 375921 309336 249259 487440 403883 446990 ...
output:
285235280 293050373 291761062 288967317 287039928 291373773 286652658 289932900 299854848 288266418 288877544 291421973 288722483 286580327 290448450 288967317 288984396 288984396 289785247 288871742 291373773 289629132 292907168 290394363 290122215 291940394 285638762 289726537 288246774 291961910 ...
result:
ok 40000 numbers
Test #65:
score: 0
Accepted
time: 104ms
memory: 638928kb
input:
40000 1000 185155 7769 181682 391915 436397 106141 63967 136277 295220 102736 192864 460128 137574 59933 304826 303122 45007 429043 490558 433008 69026 106626 496932 488702 84584 274113 365538 354267 258773 224025 295945 285656 271069 437710 357837 202524 100261 309635 92627 430034 10480 348419 4883...
output:
493002215 492824829 492998742 493208975 493253457 492923201 492881027 492953337 493112280 492919796 493009924 493277188 492954634 492876993 493121886 493120182 492862067 493246103 493304346 493250068 492886086 492923686 493304346 493304346 492901644 493091173 493182598 493171327 493075833 493041085 ...
result:
ok 40000 numbers
Test #66:
score: 0
Accepted
time: 350ms
memory: 640804kb
input:
40000 1000 285961 107028 397406 448512 55752 245513 23283 17255 388585 492878 83810 222535 91757 210820 236560 82217 230788 384015 193830 361828 159591 494572 209637 248482 24810 255924 297234 320208 271658 209773 333291 130017 272800 106626 239200 464280 324971 74645 168008 193684 157586 226558 142...
output:
480269353 255410468 480380798 387747505 480039144 480228905 474947830 480000647 475313132 475375673 371228907 480205927 427784575 480194212 480219952 256318433 252541310 252301559 254305119 253545396 480142983 252541310 475134184 475173029 474949357 475180471 258196035 248968573 480255050 257110020 ...
result:
ok 40000 numbers
Test #67:
score: 0
Accepted
time: 442ms
memory: 639584kb
input:
40000 1000 162575 365070 80425 313622 483620 174486 482599 398233 481951 317612 40164 419534 13235 137514 200998 85503 140760 306282 364398 257944 250155 125623 487750 284071 189229 13543 37441 318852 93055 228226 403341 217483 115746 308247 153268 226037 16978 63847 276094 214231 271988 315097 7264...
output:
255747759 252866132 260016300 261185179 263399123 265252157 263399123 263223283 261101643 265064323 258101523 264665444 261314969 263540047 265993808 253997756 261666776 259918252 254602200 261716323 270655603 251517292 271389306 263656980 260683768 260479256 261809660 253952512 259589544 269155873 ...
result:
ok 40000 numbers
Test #68:
score: 0
Accepted
time: 373ms
memory: 639656kb
input:
40000 1000 294925 135415 25056 26242 146349 436134 414619 120571 248948 197537 111169 336449 354084 346236 98392 255779 482164 172867 197584 460683 220808 132609 123977 57338 10092 153526 359442 455662 363799 28418 439158 77705 249228 226955 296393 28514 341892 263114 213777 468152 203897 261332 224...
output:
363861672 365492940 363514466 366292429 366529304 365407686 364979855 361285983 366140035 363986579 365710397 365789083 366614521 363493393 365834794 365822799 365557029 365764928 365910146 364885395 364349924 364957476 362950238 363522914 366122992 363585719 365549617 365437322 362962582 366380919 ...
result:
ok 40000 numbers
Test #69:
score: 0
Accepted
time: 1036ms
memory: 970184kb
input:
40000 3000 204950 415912 174797 350794 248375 98961 36565 81979 320603 361727 115501 59502 285960 369694 468841 354741 158497 140424 494399 421448 170578 237949 96774 395889 229659 217561 225059 361070 475258 438889 174207 265869 224265 425849 95900 115646 204400 96351 118065 364456 33965 13957 2754...
output:
768896873 765748301 763848669 751115461 758968804 754400438 760718244 754400438 752551751 754400438 751115461 765808365 751115461 762251095 765808365 751115461 764962174 764962174 748829419 764962174 755951780 760773939 750592014 760718244 752064008 750592014 756594726 755919410 768896873 765748301 ...
result:
ok 40000 numbers
Test #70:
score: 0
Accepted
time: 1028ms
memory: 970300kb
input:
40000 3000 29611 283273 369532 402507 407852 187278 335252 166088 93011 429391 4559 160153 285341 308442 4780 390581 397322 21200 385820 187184 163442 249159 11073 368912 461020 293849 347058 424723 21100 206417 424736 308848 448327 240494 449103 236676 40030 305764 16847 133210 169860 4146 428429 7...
output:
869068575 855037457 865566921 848584713 869068575 863842912 861925566 862677830 865910350 862677830 848584713 873538645 848584713 873652957 869120004 848584713 860232405 861283306 860040206 861393295 868950736 859995135 865648599 862058464 862058464 865910350 859817260 860040206 868808394 848366666 ...
result:
ok 40000 numbers
Test #71:
score: 0
Accepted
time: 211ms
memory: 967588kb
input:
40000 3000 373858 338622 106243 496693 295598 134602 179389 152447 7334 109307 430097 308507 161622 223083 397718 137123 221546 209151 368239 22191 351707 256946 120296 158554 58497 456991 205474 101463 276835 475794 248900 454592 101646 329090 148227 106454 121116 350563 493019 181358 262768 13338 ...
output:
1443783538 1443748302 1443515923 1443872026 1443705278 1443544282 1443589069 1443562127 1443417014 1443518987 1443839777 1443718187 1443571302 1443632763 1443807398 1443546803 1443631226 1443618831 1443777919 1443431871 1443761387 1443666626 1443529976 1443568234 1443468177 1443866671 1443615154 144...
result:
ok 40000 numbers
Test #72:
score: 0
Accepted
time: 684ms
memory: 968736kb
input:
40000 3000 474664 129369 289263 361802 223466 63574 138705 33425 324892 466744 321043 38210 83100 373970 329452 107705 131519 421018 314616 451011 442271 387996 333001 418334 498723 181906 137169 100107 98232 494246 43142 266249 103376 30710 29590 368210 313123 307061 101105 201905 185682 167285 139...
output:
1339241822 754514946 1339139685 1235520811 1339073888 1338913996 1288418934 1338883847 1288605121 1288640156 1226159648 1338888632 1261505446 1339224392 1339179874 1092407902 812099637 874292622 759383905 995704621 1339241822 759383905 1288613230 1288640156 1288640156 1288462135 758875114 759383905 ...
result:
ok 40000 numbers
Test #73:
score: 0
Accepted
time: 936ms
memory: 968572kb
input:
40000 3000 75470 195924 4986 451104 375525 202947 98021 222915 418257 356886 244693 24809 228771 267961 293890 386800 317300 343286 452480 379831 65539 243239 78410 421219 163142 439525 377376 66047 419629 12699 80488 110610 170514 199627 200554 373071 37833 72071 209190 465556 267380 12719 443978 4...
output:
777060504 778275490 776349656 774589688 774597995 784235176 775966827 779402707 777677895 777968300 773372412 784235176 774744143 784246350 783109180 774236917 770353380 773242741 769089233 775867497 786335740 763869486 785697395 775026491 779347660 781256675 768698883 763216978 770964484 780353180 ...
result:
ok 40000 numbers
Test #74:
score: 0
Accepted
time: 756ms
memory: 968368kb
input:
40000 3000 298788 145372 102595 201142 386882 14136 317119 433015 214676 496644 400024 42128 28013 229990 371937 270303 112972 439184 317538 339810 33873 44267 236932 199247 417847 170365 80900 166595 338909 280699 168396 80572 195345 419724 324988 57839 435314 468765 145480 352103 162125 394299 206...
output:
1049098822 1049682666 1050206387 1050657115 1049012792 1049370147 1049157346 1047688765 1050183457 1047854201 1050782225 1047866822 1050735684 1050685963 1050796045 1050245241 1049329019 1048346211 1049732292 1049947317 1049049301 1049553251 1047147234 1047064912 1048926416 1049624859 1050057382 104...
result:
ok 40000 numbers
Test #75:
score: 0
Accepted
time: 47ms
memory: 331896kb
input:
39997 1 85442 164023 494471 342278 49195 114669 315828 303725 436501 66473 407363 163684 184326 130957 420393 437322 418498 72728 329607 160276 220570 342409 129894 344482 387787 427165 114414 139140 309672 455670 329324 447868 177028 190 492291 407833 354105 339342 218582 127450 337830 169332 12690...
output:
85442 164023 494471 342278 49195 114669 315828 303725 436501 66473 407363 163684 184326 130957 420393 437322 418498 72728 329607 160276 220570 342409 129894 344482 387787 427165 114414 139140 309672 455670 329324 447868 177028 190 492291 407833 354105 339342 218582 127450 337830 169332 126900 61791 ...
result:
ok 39997 numbers
Test #76:
score: 0
Accepted
time: 48ms
memory: 331500kb
input:
39994 2 211853 123527 43560 348722 279394 456503 381105 341571 194433 146406 496418 96158 498368 238065 229959 273725 33603 64776 452135 232591 451738 139587 245379 247588 209446 177105 269180 327205 208204 468218 11694 314827 240618 153731 369433 406894 353200 211020 350519 147751 309369 98935 5893...
output:
466550 439552 368383 631196 491475 943295 780909 804718 636395 646031 634745 571064 942972 592400 706814 636801 452445 315919 934363 469633 947969 206899 615626 495311 312478 594811 277498 674354 701727 717890 483574 773722 408537 389485 609725 816618 658283 505840 821849 637088 599437 211206 502734...
result:
ok 39994 numbers
Test #77:
score: 0
Accepted
time: 20ms
memory: 330612kb
input:
39993 3 34047 436729 51807 87327 308004 399093 455216 46037 286247 358358 171141 470932 94332 280853 306269 318582 22787 240423 124314 483302 449436 392305 129851 331621 154103 12006 169699 207714 380765 266780 176241 207130 459666 286264 163862 401315 42135 479315 197925 467748 47966 256854 389121 ...
output:
630575 1033257 648335 683855 904532 995621 1051744 642565 882775 954886 767669 1067460 690860 877381 902797 915110 619315 836951 720842 1079830 1045964 988833 726379 928149 750631 608534 766227 804242 977293 863308 772769 803658 1056194 882792 760390 997843 638663 1075843 794453 1064276 644494 85338...
result:
ok 39993 numbers
Test #78:
score: 0
Accepted
time: 39ms
memory: 332452kb
input:
39995 4 417703 392874 176058 467386 126183 20107 165908 13647 190256 147861 145950 118311 227839 154401 292083 312172 493328 132347 72252 90739 26408 154221 179455 358388 128562 111085 308751 365928 457832 264485 432066 442811 306442 452430 180720 341621 347400 258928 326999 308617 227828 471628 431...
output:
1781477 1756648 877445 1831160 1371560 912574 1393965 825998 1438979 1427888 1394673 1482085 1476562 1518175 1098856 1675946 1325633 1496121 1320975 890919 1390182 1119497 931850 1607111 1377285 1474859 1557474 1614651 1706555 1336830 1795840 943730 1670216 1701153 1160177 1705395 1596123 1507651 15...
result:
ok 39995 numbers
Test #79:
score: 0
Accepted
time: 35ms
memory: 331464kb
input:
39996 5 54500 25492 19868 137574 79120 43540 122714 428446 136337 475423 32465 402870 319696 354264 469670 351848 176696 66592 486082 204710 70814 376156 23002 122029 172179 334756 164769 435188 486781 389779 47793 410313 227720 332259 408561 4 353144 271958 19545 146059 326799 148662 21356 311098 2...
output:
954608 1208639 1354051 1454450 1277149 1212609 1203301 1801083 1489233 1858185 1077020 1557758 1560114 1789804 1544243 1291937 762821 1501318 1687988 1055836 1274971 1323458 1286452 827122 1230675 1655847 1109870 1778310 1618728 1607547 1155834 1423446 1927887 1680860 1330296 435770 1609999 1061652 ...
result:
ok 39996 numbers
Test #80:
score: 0
Accepted
time: 48ms
memory: 332156kb
input:
39994 6 264842 448970 298113 7163 199664 429103 339562 244773 84445 278673 346731 248734 186308 285287 30973 322004 468413 344398 303089 328212 208382 169985 321889 134127 159576 223904 152869 401708 125818 390392 476961 476372 263574 456856 261578 463681 90909 234642 328015 495267 134697 351407 156...
output:
2138607 2699217 1694928 2243862 1626960 2320728 1686740 1734660 2278068 2319572 1890500 1490717 2104554 1804723 2148621 1648551 2283320 2131795 1437881 1429148 1502384 1826632 1713777 2061962 1777635 1972365 1831735 2123234 1973388 1798352 1817090 1732652 1940435 2212822 2046671 2561728 2263098 2201...
result:
ok 39994 numbers
Test #81:
score: 0
Accepted
time: 36ms
memory: 331956kb
input:
39997 1 417346 121625 38863 8 144965 339187 141404 1 3 7 64597 321164 1 491492 51406 120014 108547 430925 284109 392011 468266 9 32368 269318 371205 50697 449551 88430 362025 165558 42949 180757 422758 372508 18070 6 80745 10 319219 159309 8 224121 228429 10 332661 91239 238987 412592 126703 16741 3...
output:
417346 121625 38863 8 144965 339187 141404 1 3 7 64597 321164 1 491492 51406 120014 108547 430925 284109 392011 468266 9 32368 269318 371205 50697 449551 88430 362025 165558 42949 180757 422758 372508 18070 6 80745 10 319219 159309 8 224121 228429 10 332661 91239 238987 412592 126703 16741 306729 69...
result:
ok 39997 numbers
Test #82:
score: 0
Accepted
time: 55ms
memory: 331516kb
input:
39994 2 7 31064 485635 231026 363131 201089 5 196083 497363 10 380566 6 454579 264753 448116 235674 9 8 349587 7 254004 478955 3 304037 272671 115830 266002 338865 97687 3 126815 114070 111401 186668 200087 77969 459718 237126 139312 99364 209335 160420 264743 6 378209 86773 496665 288975 325201 129...
output:
449410 207482 779261 562790 453396 543533 263512 609668 793246 346239 840892 397798 670255 761190 861472 623606 436515 322202 349593 390424 623602 741842 220740 736611 421674 115838 702852 553634 97690 13 440257 570840 346287 549366 466815 522669 785009 444709 146046 400858 209338 560260 264750 14 7...
result:
ok 39994 numbers
Test #83:
score: 0
Accepted
time: 20ms
memory: 330664kb
input:
39993 3 123848 244082 445325 2 8 172973 4 363291 399424 449266 359318 266036 279400 2 330315 7 145389 179428 89216 301647 194123 8 349944 90902 122233 309792 9 4 413218 294833 7 472775 405336 202831 191773 480484 74271 60939 313611 6 4 379161 461872 169484 361759 449185 69750 127173 191139 65478 2 3...
output:
917468 1037702 1238945 793622 793628 966593 793624 1156911 1193044 1242886 1152938 1059656 1073020 793622 1123935 793627 939009 973048 882836 1095267 987743 793628 1143564 884522 915853 1103412 793629 793624 1206838 1088453 793627 1266395 1198956 996451 985393 1274104 867891 854559 1107231 793626 79...
result:
ok 39993 numbers
Test #84:
score: 0
Accepted
time: 28ms
memory: 332492kb
input:
39995 4 198969 439468 418709 1 131946 135716 459694 15839 82341 259568 221496 1 243904 259750 453718 399911 71552 494678 323042 352113 411203 168285 373106 10 351095 487955 238755 8594 3 29124 3 49192 467155 8 64380 6 69846 8 449152 115702 354829 152380 453124 50396 3 10 4 10 171012 234195 155983 17...
output:
1366524 1607023 1476029 1167556 946103 772142 1034449 791257 1500494 1425868 1639649 1167556 1662057 1427305 1020277 1567466 736334 1662233 1741195 1400231 1578758 1194728 1157173 1418163 1769248 1655510 1656908 1426747 1418156 1245401 1167558 1207981 1634710 1418161 861894 1167561 1487999 1418161 1...
result:
ok 39995 numbers
Test #85:
score: 0
Accepted
time: 47ms
memory: 331540kb
input:
39996 5 3 132037 469852 468260 360150 375682 100935 395770 265672 445383 216265 470043 413145 202390 491527 399515 364571 2 8 402118 375481 279227 341717 276231 178039 179078 146805 227990 91531 160555 151258 5 66195 2 128860 5 44615 121036 10 459655 388190 86932 282087 402441 282508 462789 130065 3...
output:
827763 894628 1853214 1866446 1667216 1892810 1263070 1209264 1370057 1211069 1596440 1438678 1518683 1637476 1522206 1498724 926910 1203754 773120 1894103 941906 1545673 1885019 1028907 1356379 860613 1226699 1220274 988252 1081194 1105388 645590 900261 1094608 994507 1164226 932480 1322576 1074876...
result:
ok 39996 numbers
Test #86:
score: 0
Accepted
time: 35ms
memory: 332044kb
input:
39994 6 7 366518 33057 3 25774 1 48075 279284 88015 6 495906 61748 5 9 6 280677 10 281845 148623 65503 334257 330926 144368 7 241311 270541 372870 1 445658 156064 228002 332840 377379 421302 162781 127365 7 321552 131461 175976 345324 9 316588 426975 8 10327 1 9 477771 1 1 153324 428028 9 1835 30650...
output:
1564187 2082533 1957093 1866782 1768970 1684242 1395800 2351328 1335998 1047891 2349253 1780169 1449179 1305505 1265286 1515260 1620485 2083942 1394613 1759203 1966598 1214734 1447751 1975153 2484262 1662980 2363179 1476339 2065380 1524279 1662434 1957832 1554174 1410267 2054879 1453968 1399591 1816...
result:
ok 39994 numbers
Test #87:
score: 0
Accepted
time: 44ms
memory: 332064kb
input:
39997 1 6 6 10 121791 391702 346835 2 5 12194 220838 2 6 3 140426 5 7 7 5 1 8 487547 40242 2 256420 10 3 300862 212055 212592 1 9 174528 7 220935 5 239416 403366 382808 1 33832 1 483242 6 237844 1 3 379826 8 7 10 9 2 312751 3 3 227354 4 1 347439 496149 8 7 6 4 478522 1829 1 9 7 199504 143079 427033 ...
output:
6 6 10 121791 391702 346835 2 5 12194 220838 2 6 3 140426 5 7 7 5 1 8 487547 40242 2 256420 10 3 300862 212055 212592 1 9 174528 7 220935 5 239416 403366 382808 1 33832 1 483242 6 237844 1 3 379826 8 7 10 9 2 312751 3 3 227354 4 1 347439 496149 8 7 6 4 478522 1829 1 9 7 199504 143079 427033 6 322595...
result:
ok 39997 numbers
Test #88:
score: 0
Accepted
time: 36ms
memory: 331568kb
input:
39994 2 41295 33847 8 9 4 9 276712 8 1 83438 1 1 1 140626 8 6 234170 9 341503 408540 131722 8 5 263458 2 353602 5 8 198637 5 208184 6 31317 300638 357485 499290 386741 111717 8 5 218667 401881 6 378002 10 164050 265344 6 336983 178808 1 395080 187056 284743 242721 106244 212129 8 9 120612 6 1 117115...
output:
41303 33855 17 451984 447329 365440 754477 13 369841 83446 10 380049 87297 170358 12 442621 336157 19 662509 800226 131729 249460 410132 263465 368173 525570 15 190126 575906 285638 558723 47709 302965 679483 357492 849452 833065 111725 483108 335592 396304 700866 315317 378011 387037 550080 265354 ...
result:
ok 39994 numbers
Test #89:
score: 0
Accepted
time: 16ms
memory: 330536kb
input:
39993 3 160676 433808 113230 18931 4 1 4 4 4 9 4 145216 1 10 5 387263 87256 202635 10 5 353959 109922 3 6 5 134522 1 199123 8 322375 241307 7 397315 448431 4 9 100067 202662 8 448204 5 3 411954 497661 190448 8 10 5 341860 331528 8 6 1 9 452010 314905 67832 13796 7 7 146600 417139 373359 268929 6 10 ...
output:
660641 933773 613195 518896 499969 499966 499969 499969 499969 499974 499969 645181 499966 499975 499970 887228 587221 702600 499975 499970 853924 609887 499968 499971 499970 634487 499966 699088 499973 822340 741272 499972 897280 948396 499969 499974 600032 702627 499973 948169 499970 499968 911919...
result:
ok 39993 numbers
Test #90:
score: 0
Accepted
time: 39ms
memory: 332056kb
input:
39995 4 10 8 6 6 120358 329697 492864 7 3 3 223093 6 325355 264423 174672 317953 5 59546 157885 5 7 109192 9 76823 5 391154 390692 9 2 1 9 1 8 346233 8 432755 1 328679 183062 104033 7 1 9 145373 9 71488 3 2 4 1 5 330439 8 6 217629 223925 8 2 1 369028 119348 160111 243605 8 2 4 9 293472 39871 148337 ...
output:
1284452 1284450 427575 1284448 814753 1236970 1022820 179245 999510 993654 1222600 1284448 1324862 1548865 571400 1602395 461083 1343988 1157392 518732 1284449 943148 267641 1076330 999512 1675596 1390199 999516 999509 213149 1284451 25 1284450 1345740 152706 1717197 999508 1328186 1182569 1388475 1...
result:
ok 39995 numbers
Test #91:
score: 0
Accepted
time: 43ms
memory: 331420kb
input:
39996 5 3 5 9 442371 5 3 4 488982 444200 3 10 32778 2 488847 119553 3 201442 3 12275 9 422835 8 2 348429 10 10 417905 3 469535 219771 5 10 102575 122891 4 99234 283596 1 4 301211 365476 262714 7 455695 32132 418122 3 4 331304 7 297118 46604 474226 9 333513 12416 469675 318921 354157 155089 5 470276 ...
output:
932131 1015693 37 520988 846614 340066 621376 1134928 1153981 96465 1133703 942981 418706 1069347 863854 1226267 646871 639386 586745 1062122 889729 861274 195680 1178443 711262 93340 1466281 1135743 1268762 1371921 535459 1068674 702627 671243 482060 1123268 670718 780202 378106 1601072 815931 1197...
result:
ok 39996 numbers
Test #92:
score: 0
Accepted
time: 43ms
memory: 331948kb
input:
39994 6 3 277485 251065 7 3 6 9 303774 3 456672 2 9 33792 2 8 131426 9 9 92457 6 4 417342 4 5 306802 10 461909 223469 380941 405574 450536 1 468730 281888 3 4 353909 449977 3 183521 55258 3 4 263053 4 7 215481 474731 8 2 5 370371 4 10 283409 226941 459060 3 2910 8 435206 10 2 5 152923 9 1 10 1 8 952...
output:
609106 1720623 974343 1203454 1331653 186795 320888 1820018 1351570 1175040 1951027 864351 1337071 837423 732792 642146 1376763 1415106 950728 1331833 1076474 1616266 1704452 715723 1041837 693309 1082152 1736790 1385335 1355182 1625220 908735 1813543 1533922 1219576 1008776 1284360 1907786 761564 1...
result:
ok 39994 numbers
Test #93:
score: 0
Accepted
time: 91ms
memory: 347464kb
input:
39997 50 9 158 1 4 174823 152440 2 8 422560 231576 4 327970 377691 208595 150236 9 38900 240067 10 1 257427 420664 96015 8 363037 15999 5 1 222923 75363 472886 4 4 7 10 462921 303813 4 483002 7 1 5 8 167372 164947 10 5 304846 90347 393031 7 219141 83088 6 711 450551 326712 458547 60390 10 28743 2792...
output:
5921940 8127784 6648639 6272137 6922087 7635731 6059559 5907461 6148172 7360908 7324855 7279427 6407583 4986096 5552625 5701263 9053597 6379063 7491871 6242116 8630578 7046051 8796107 7308533 7600928 6379183 6057917 6578491 6682375 6895420 7418766 8156942 5890382 6148172 4718222 9403529 7644725 7484...
result:
ok 39997 numbers
Test #94:
score: 0
Accepted
time: 87ms
memory: 346384kb
input:
39994 50 197786 2 111785 7 62043 3 463403 3 401844 488305 10 183705 410984 538 105195 119392 8 7 47295 2 289868 1 196260 297538 450573 478099 7 309912 162664 112485 3 1 444349 7 263141 4 4 450515 274519 343479 6 7 1 7 10 377277 4 367033 5 126492 6 3 263683 463110 7 336538 314100 28577 273421 287999 ...
output:
7929783 7352686 10509773 7744899 9138901 9857260 7529549 10066783 9342395 8787133 7952169 8003412 9044107 9155872 9501649 9280522 11648789 8505775 8595764 9377411 9780616 6822252 9653957 8204900 9789314 9778831 9942006 8001915 10109437 9123544 9865548 8722010 8986443 9661489 10109437 10195061 929712...
result:
ok 39994 numbers
Test #95:
score: 0
Accepted
time: 24ms
memory: 344948kb
input:
39993 50 199369 348447 225968 397220 2 242477 142689 8 258753 213561 5 1 54171 6 1 8 3 393696 480719 72103 1 10 349013 122028 199069 5 8 467413 255841 5 439688 2 5 2 1 6 90118 63059 209190 3 3 6 425815 6 158959 10 103727 92789 213056 1 3 243147 3 6 1 2 383449 2 6 94010 416132 39902 240751 5 175324 2...
output:
24335529 24484607 24362128 24533380 24136162 24378637 24278849 24136168 24394913 24349721 24136165 24136161 24190331 24136166 24136161 24136168 24136163 24529856 24616879 24208263 24136161 24136170 24485173 24258188 24335229 24136165 24136168 24603573 24392001 24136165 24575848 24136162 24136165 241...
result:
ok 39993 numbers
Test #96:
score: 0
Accepted
time: 35ms
memory: 346788kb
input:
39995 50 1 462795 6 485354 302891 253683 424938 157134 5 150386 62371 7 9 1 6 3 172481 6 4 7 129589 173546 8 328586 9 4 194650 241243 313334 2 6 147792 5 25903 304046 355282 498628 124087 9 481832 372264 1 111277 4 8 5 10 1 5 300374 241399 9 2 189459 6 2 16768 2 302334 5 135001 396008 6 87916 309513...
output:
23960511 24423305 7416694 24445864 9022955 6464519 6827506 7979191 24094633 7131385 24156999 23960517 24094637 23960511 7711074 23960513 7012564 23960516 24094632 6822364 24090099 6977670 7244374 24423214 24094637 23960514 24289278 24335871 24407962 4779366 23960516 8317503 23960515 24120531 7245120...
result:
ok 39995 numbers
Test #97:
score: 0
Accepted
time: 59ms
memory: 345216kb
input:
39996 50 92248 8 461477 368857 295824 233310 7 2 128549 394046 100506 4 134487 1 10 8 9 6 183721 1 4 150097 5 405991 8 176549 1 1 254516 398367 8 2 10747 1 113215 421193 10 7 10 449898 8 7 333363 231207 2 10 419630 324605 398703 9 14574 121604 7 1 55158 115814 1 150062 177079 77877 432556 2 3 10 4 8...
output:
6161861 6727219 8347910 5831267 6194771 4972463 9007214 6387983 6484101 8095919 6367420 5760031 6678262 5233695 7802319 6021152 6295157 7021359 6949635 6568400 5857686 5975402 6388411 6732050 7388897 7156513 7899055 4121747 7695091 6548004 7867771 7481031 7510005 5583883 7695091 8956260 8188675 7086...
result:
ok 39996 numbers
Test #98:
score: 0
Accepted
time: 81ms
memory: 345508kb
input:
39994 50 5 9 376379 10 246386 203115 407290 4 72079 53319 289222 8 1 93508 39052 6 1 74554 433827 476675 9 40169 481504 7 200772 339871 6 1 486661 1 9 38456 3 397858 5 7 88901 119647 314870 439398 53127 10 7 8 2 9 380678 154309 9 366683 8 325105 4 248365 491576 3 27649 377184 7 7 490940 1 10 3 3 4 3...
output:
11695712 12582077 10444267 16646516 12272317 12759475 11650003 12104113 10815183 11197816 16818569 10610363 17051313 12232140 10283541 16226307 13009206 13498407 12628064 11491618 11797577 12302771 11225889 12445707 10646394 10225813 12764824 10791808 11282935 15413491 13015845 11266978 11371797 987...
result:
ok 39994 numbers
Test #99:
score: 0
Accepted
time: 988ms
memory: 970220kb
input:
39997 3000 153663 441351 50646 389350 470711 267195 24529 290705 26200 34208 368828 357649 1 341633 5 20996 448299 216200 137066 138357 32134 337978 305750 373003 229313 198204 373433 263745 135326 359478 262204 195300 289054 253536 104082 280352 17395 180765 1 370574 156876 400913 417890 9 401404 2...
output:
680068443 678847245 660876717 672121804 657070062 677108185 683865840 664927885 670714283 677108185 679157434 666959212 683538046 673005201 673085607 680219417 677108185 670332036 667021289 683865840 680219417 677108185 683865840 678847245 683768806 680219417 678847245 683768806 675213942 660876717 ...
result:
ok 39997 numbers
Test #100:
score: 0
Accepted
time: 1038ms
memory: 968436kb
input:
39994 3000 116698 469778 318837 157564 100639 301259 424573 7 487139 355635 127422 414476 247486 23208 105860 305116 402000 360276 272542 225217 339444 292515 352908 430285 77904 173725 287784 326700 4 488449 7 327614 407655 387314 89375 199806 322685 9 240233 254830 7 169583 1 316874 204070 134910 ...
output:
790217761 786970183 788715761 787117835 783752994 794805871 790015186 794761913 790306014 794805871 787272728 790563129 786447358 790768895 791003417 792056925 780255571 782069811 777408554 785407619 794114018 780255571 790306014 794111610 794708543 790082920 785697407 780255571 788005771 792447354 ...
result:
ok 39994 numbers
Test #101:
score: 0
Accepted
time: 227ms
memory: 968224kb
input:
39993 3000 415914 456186 129140 378285 336541 6 471493 145246 309476 215845 458177 204273 474748 286781 7 363904 454236 454511 385121 427572 449769 485906 10 150873 463990 3 3 486385 320714 477930 3 102484 69832 252890 281449 21857 13653 121294 353810 90648 474832 1 44501 226245 49209 420273 288972 ...
output:
1435049312 1435089584 1434762538 1435011683 1434969939 1434633404 1435090264 1434778644 1434942874 1434849243 1435090264 1434837671 1435090264 1434920179 1434633405 1434997302 1435087634 1435087909 1435018519 1435060970 1435083167 1435090264 1434633408 1434784271 1435090264 1434633401 1434633401 143...
result:
ok 39993 numbers
Test #102:
score: 0
Accepted
time: 696ms
memory: 969560kb
input:
39995 3000 7 220909 298811 490112 65626 360038 476283 488048 54279 10 230094 458491 288600 70513 470338 9 92113 221582 244854 5751 491809 462109 54792 383689 140871 292124 3 239062 3 281544 422794 493516 125613 87273 296994 7 461987 388738 414761 171511 3 7 336772 155637 143970 151621 448731 272887 ...
output:
1311942111 1312163013 673665320 1312316929 1030981565 668300228 1206823291 679868762 1257891747 665304211 1258067562 1312316929 1258126068 1312012617 679868762 1311942113 666066015 1312163686 1258082322 1208733416 1312316929 674919227 1071813342 1258178894 1257978339 1312234228 1257837471 1258076530...
result:
ok 39995 numbers
Test #103:
score: 0
Accepted
time: 946ms
memory: 967572kb
input:
39996 3000 4 6 269822 472265 5 419752 7 244777 185763 56976 197896 445409 346001 147731 1 419885 331970 174407 9 487336 161400 150182 182221 490008 3 284837 222564 5 314773 432709 140310 120973 289868 372426 136406 233782 38590 27658 459706 461145 451192 23488 303094 292184 98420 147954 252104 18674...
output:
699524511 688809672 701141969 693331936 687994784 692099377 692506355 702004996 696110247 700429339 689907618 688129225 698025648 696618302 687459789 693753751 690783700 687254773 688957371 687837424 696476473 696633676 704604835 699918696 698458680 706165094 696076793 695124283 695226779 701564769 ...
result:
ok 39996 numbers
Test #104:
score: 0
Accepted
time: 700ms
memory: 968308kb
input:
39994 3000 241725 222723 116135 227770 284983 479705 92652 421755 433182 387945 49566 217781 449650 6 7014 440970 121160 413401 126371 168213 10 186589 9 210681 103911 35496 470334 159331 449450 401748 389468 250139 216297 11209 40227 159622 165110 67193 280584 74941 129298 373118 431370 2 141850 65...
output:
1004424556 1004126473 1003259650 1004153323 1002030461 1003570485 1003882691 1002915184 1004374483 1002114329 1004027517 1004432921 1004432921 1003759399 1003587989 1004432921 1001939886 1004005156 1003925186 1003157343 1004116006 1003822125 1004116005 1004296369 1001045102 1002806192 1003164603 100...
result:
ok 39994 numbers