QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#81370 | #1968. Science Fiction | ZhaoZiLong | AC ✓ | 4ms | 6928kb | C++20 | 1.1kb | 2023-02-25 14:34:35 | 2023-02-25 14:35:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 2ms
memory: 3396kb
input:
2 3 2 10 4
output:
2 2 3 0 1
result:
ok nice! 2 moves
Test #2:
score: 0
Accepted
time: 2ms
memory: 3576kb
input:
1 10 100
output:
0
result:
ok nice! 0 moves
Test #3:
score: 0
Accepted
time: 2ms
memory: 5472kb
input:
1 824838 992401
output:
0
result:
ok nice! 0 moves
Test #4:
score: 0
Accepted
time: 3ms
memory: 5448kb
input:
2 208395 17211 250690 874014
output:
1 0 1
result:
ok nice! 1 moves
Test #5:
score: 0
Accepted
time: 4ms
memory: 5928kb
input:
8 991318 655714 983340 496226 752852 888298 572661 729100 426124 437775 8096 28612 303846 295897 970760 179029 702449 407420 945406 352294 960516 484993 724888 495235 156841 451864 95506 869159 61631 296168 279240 260130 901551 726353 298872 221580 982372 394731 720187 656498 595457 381795 759187 36...
output:
936 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 164 166 166 174 174 190 190 254 224 225 225 229 229 237 237 253 2 0 0 4 4 12 12 28 28 60 60 124 124 252 36 37 37 39 39 35 35 43 43 59 59 123 123 251 169 168 168 170 170 186 186 250 60 61 61 57 57 121 121 249 14 12 12 8 8 24 24 56 56 120 120 248 231 247...
result:
ok nice! 936 moves
Test #6:
score: 0
Accepted
time: 3ms
memory: 6152kb
input:
9 888559 111203 65032 290846 22133 226267 707470 14065 736516 622251 346047 555707 482074 680230 613967 497441 449554 967825 651070 678493 472313 583791 720445 224302 300743 198731 973353 657745 445065 428890 915188 532221 601100 975552 252972 265343 797188 997748 751515 244459 880581 499279 192690 ...
output:
2158 37 39 39 47 47 63 63 127 127 255 255 511 381 380 380 382 382 510 73 77 77 93 93 125 125 253 253 509 504 508 315 379 379 507 91 90 90 122 122 250 250 506 315 313 313 377 377 505 412 408 408 440 440 504 281 283 283 287 287 279 279 311 311 375 375 503 180 182 182 246 246 502 33 37 37 53 53 117 117...
result:
ok nice! 2158 moves
Test #7:
score: 0
Accepted
time: 4ms
memory: 6700kb
input:
10 46982 476817 496931 560433 461240 750978 947847 814814 659646 506842 759616 931346 752705 449448 557667 164565 805585 139966 935551 743130 400827 826593 316939 597171 566302 42318 283510 548860 557699 464391 241748 310653 488228 677001 434005 590123 338841 574036 303991 216552 454974 914883 31282...
output:
4730 549 551 551 559 559 575 575 639 639 767 767 1023 671 670 670 702 702 766 766 1022 631 629 629 637 637 765 765 1021 274 272 272 276 276 284 284 316 316 380 380 508 508 1020 341 343 343 339 339 347 347 379 379 507 507 1019 353 352 352 354 354 362 362 378 378 506 506 1018 332 333 333 329 329 345 3...
result:
ok nice! 4730 moves
Test #8:
score: 0
Accepted
time: 3ms
memory: 6676kb
input:
10 949240 35612 460205 974087 338042 271803 334025 63491 750807 279433 899420 120333 875712 396956 17331 903377 75543 841309 975578 209064 858085 265088 990752 382189 453875 707785 91883 487626 999153 989617 672899 730478 89929 619621 96174 915274 438090 705909 682206 236298 574666 885407 168720 540...
output:
4812 951 959 959 1023 28 30 30 62 62 126 126 254 254 510 510 1022 188 189 189 253 253 509 509 1021 964 972 972 988 988 1020 675 683 683 699 699 763 763 1019 572 574 574 570 570 634 634 762 762 1018 818 819 819 817 817 825 825 889 889 1017 532 528 528 536 536 568 568 632 632 760 760 1016 377 379 379 ...
result:
ok nice! 4812 moves
Test #9:
score: 0
Accepted
time: 1ms
memory: 6680kb
input:
10 746874 671481 787373 91722 286998 843370 287027 699571 566633 92904 121270 84581 172807 118213 566935 494171 96174 128894 912103 167003 563084 240573 445148 595153 430540 871105 407520 875615 374793 147544 58778 979552 146961 97898 511796 530999 496562 478923 730985 885285 94569 490511 331797 927...
output:
4795 138 139 139 143 143 159 159 191 191 255 255 511 511 1023 669 668 668 670 670 702 702 766 766 1022 1017 1021 975 974 974 972 972 988 988 1020 527 523 523 539 539 571 571 635 635 763 763 1019 388 390 390 386 386 394 394 410 410 442 442 506 506 1018 474 475 475 473 473 505 505 1017 477 476 476 472...
result:
ok nice! 4795 moves
Test #10:
score: 0
Accepted
time: 2ms
memory: 6928kb
input:
10 546693 308346 853356 12952 842161 797467 832954 207696 730371 27541 94381 419145 35259 663666 987797 42166 362364 136282 161216 934180 391497 780167 195044 636218 940656 362727 31072 839926 412136 570431 834451 594285 517357 298316 891244 707769 86006 662265 452173 697662 420751 904255 665271 730...
output:
4709 937 939 939 943 943 959 959 1023 677 676 676 678 678 686 686 702 702 766 766 1022 402 403 403 401 401 405 405 413 413 445 445 509 509 1021 467 466 466 464 464 468 468 476 476 508 508 1020 839 835 835 843 843 859 859 891 891 1019 129 128 128 130 130 138 138 154 154 186 186 250 250 506 506 1018 5...
result:
ok nice! 4709 moves
Test #11:
score: 0
Accepted
time: 0ms
memory: 5392kb
input:
1 819419 113088
output:
1 0 1
result:
ok nice! 1 moves
Test #12:
score: 0
Accepted
time: 1ms
memory: 5476kb
input:
2 725964 552203 371378 344109
output:
4 0 1 1 3 0 2 0 1
result:
ok nice! 4 moves
Test #13:
score: 0
Accepted
time: 4ms
memory: 6888kb
input:
10 998030 997163 996957 993557 991195 989284 988223 985000 982700 982212 981058 981023 980199 979436 979287 977471 977098 977062 975229 974818 973741 973028 971101 970597 970328 969913 967931 967747 966649 966556 965497 963873 963808 962577 961661 960874 960527 958588 957708 956548 954238 954169 953...
output:
5120 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 255 511 511 1023 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 0 1 1 5 5 13 13 29 29 61 61 125 125 253 253 509 509 1021 0 4 4 12 12 28 28 60 60 124 124 252 252 508 508 1020 0 1 1 3 3 11 11 27 27 59 59 123 123 251 251 507 507 1019 0 2 2 10 1...
result:
ok nice! 5120 moves
Test #14:
score: 0
Accepted
time: 2ms
memory: 6728kb
input:
10 998603 998169 997659 997290 997252 997151 996413 996391 996085 994969 990896 989802 987855 987448 986526 985933 984340 984041 983080 982762 982158 981412 980751 979775 979599 979224 976027 972756 972515 971272 971034 970460 969635 968618 968234 965740 964670 963272 958508 958370 956691 955586 955...
output:
5263 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 255 511 511 1023 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 0 1 1 5 5 13 13 29 29 61 61 125 125 253 253 509 509 1021 0 4 4 12 12 28 28 60 60 124 124 252 252 508 508 1020 0 1 1 3 3 11 11 27 27 59 59 123 123 251 251 507 507 1019 0 2 2 10 1...
result:
ok nice! 5263 moves
Test #15:
score: 0
Accepted
time: 4ms
memory: 6796kb
input:
10 997893 997879 997251 996734 995681 995546 992657 991595 989691 989182 988758 988161 987328 985910 982385 982322 981361 980688 977437 977323 977313 977088 974645 973981 973504 972672 972559 969933 968924 968786 967992 967889 967840 966919 966755 966540 966241 965403 963714 962495 961713 960731 960...
output:
5478 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 255 511 511 1023 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 0 1 1 5 5 13 13 29 29 61 61 125 125 253 253 509 509 1021 0 4 4 12 12 28 28 60 60 124 124 252 252 508 508 1020 0 1 1 3 3 11 11 27 27 59 59 123 123 251 251 507 507 1019 0 2 2 10 1...
result:
ok nice! 5478 moves
Test #16:
score: 0
Accepted
time: 1ms
memory: 6152kb
input:
10 999765 999540 999524 442723 783220 997869 997780 712090 996433 996257 996040 992566 991883 990874 990859 988633 582417 981709 937314 977988 84342 975260 591353 974330 974158 528281 973722 973625 973185 972643 971744 971507 969795 969647 969612 129152 966057 220244 964045 963969 963162 597812 4185...
output:
6071 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 255 511 511 1023 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 0 1 1 5 5 13 13 29 29 61 61 125 125 253 253 509 509 1021 978 976 976 980 980 988 988 1020 219 251 251 507 507 1019 1 0 0 2 2 10 10 26 26 58 58 122 122 250 250 506 506 1018 0 1 1...
result:
ok nice! 6071 moves
Test #17:
score: 0
Accepted
time: 0ms
memory: 6892kb
input:
10 343821 998027 997026 996414 996404 773250 994500 859736 367107 993429 990586 714714 989540 989370 988330 987442 985869 478079 984828 984430 983909 424172 980184 438518 46043 797866 973296 972011 970740 969830 969509 968315 439027 967113 967029 966931 583530 47644 445131 961898 957808 957034 95661...
output:
6070 191 255 255 511 511 1023 1 0 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 0 1 1 5 5 13 13 29 29 61 61 125 125 253 253 509 509 1021 3 2 2 0 0 4 4 12 12 28 28 60 60 124 124 252 252 508 508 1020 0 1 1 3 3 11 11 27 27 59 59 123 123 251 251 507 507 1019 127 126 126 122 122 250 250 506 50...
result:
ok nice! 6070 moves
Test #18:
score: 0
Accepted
time: 4ms
memory: 6724kb
input:
10 999796 853861 338685 673431 997360 508676 986083 623206 985281 261993 455281 984165 806278 365801 983086 329846 836224 107339 978674 500414 976971 553047 53972 897597 287497 368894 966051 965944 25111 965071 162596 862808 962587 907148 336588 664453 959641 958947 958555 958124 954763 951778 95161...
output:
5945 0 1 1 3 3 7 7 15 15 31 31 63 63 127 127 255 255 511 511 1023 146 150 150 158 158 190 190 254 254 510 510 1022 676 677 677 685 685 701 701 765 765 1021 432 436 436 444 444 508 508 1020 4 5 5 7 7 3 3 11 11 27 27 59 59 123 123 251 251 507 507 1019 734 730 730 762 762 1018 6 7 7 5 5 1 1 9 9 25 25 5...
result:
ok nice! 5945 moves
Test #19:
score: 0
Accepted
time: 4ms
memory: 6800kb
input:
10 695647 998457 256203 909670 982894 995992 995387 777482 994669 263854 989569 320493 252841 985455 530388 684573 983066 975593 891430 487880 349963 472375 372708 423420 974655 974388 974301 973152 950030 969447 679648 246707 966536 966376 965740 866666 30143 963819 961332 960251 209174 640492 2202...
output:
5808 855 863 863 895 895 1023 1 0 0 2 2 6 6 14 14 30 30 62 62 126 126 254 254 510 510 1022 758 759 759 757 757 765 765 1021 100 108 108 124 124 252 252 508 508 1020 714 715 715 731 731 763 763 1019 5 4 4 6 6 2 2 10 10 26 26 58 58 122 122 250 250 506 506 1018 6 7 7 5 5 1 1 9 9 25 25 57 57 121 121 249...
result:
ok nice! 5808 moves
Test #20:
score: 0
Accepted
time: 2ms
memory: 6700kb
input:
10 258936 410937 283884 393387 982697 510737 680897 212979 153426 621625 795061 757773 244663 213121 74281 949123 983068 965482 433099 992440 514506 239699 440821 724409 311327 313198 852076 262928 788330 678441 506087 34286 809495 599525 970320 301833 969669 307223 871328 525355 797019 515257 10861...
output:
5031 765 767 767 1023 974 990 990 1022 727 725 725 733 733 765 765 1021 815 814 814 812 812 828 828 892 892 1020 19 27 27 59 59 123 123 251 251 507 507 1019 346 378 378 506 506 1018 244 245 245 241 241 249 249 505 505 1017 158 156 156 152 152 184 184 248 248 504 504 1016 888 889 889 891 891 895 895 ...
result:
ok nice! 5031 moves
Test #21:
score: 0
Accepted
time: 1ms
memory: 6672kb
input:
10 989539 264003 89801 336845 872805 363863 409608 722546 676281 871400 20414 972543 452474 858575 480750 639385 877845 432002 283043 932719 857101 146837 773058 438046 755472 383841 330153 180919 419122 281693 289297 988547 934831 667163 418404 844342 707371 773251 452058 951076 674998 598366 23071...
output:
4824 770 771 771 775 775 783 783 799 799 831 831 895 895 1023 237 236 236 238 238 254 254 510 510 1022 720 721 721 725 725 733 733 765 765 1021 385 384 384 388 388 396 396 412 412 444 444 508 508 1020 687 683 683 699 699 763 763 1019 212 214 214 210 210 218 218 250 250 506 506 1018 0 1 1 9 9 25 25 5...
result:
ok nice! 4824 moves
Test #22:
score: 0
Accepted
time: 3ms
memory: 6724kb
input:
10 268981 729295 424417 366156 357055 175507 417152 240251 411056 912165 423865 278160 907860 413812 133438 626599 165355 660278 473775 6476 512331 250836 713169 750412 856144 665133 815985 636387 389359 22218 327844 551545 921825 35601 877698 671416 589514 192363 822860 403486 197385 617060 909896 ...
output:
4778 487 495 495 511 511 1023 979 978 978 982 982 990 990 1022 593 597 597 605 605 637 637 765 765 1021 50 48 48 52 52 60 60 124 124 252 252 508 508 1020 180 181 181 183 183 179 179 187 187 251 251 507 507 1019 649 648 648 650 650 666 666 698 698 762 762 1018 474 475 475 473 473 505 505 1017 868 864...
result:
ok nice! 4778 moves