QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#248910 | #7629. Make SYSU Great Again II | ucup-team253# | AC ✓ | 785ms | 159444kb | C++14 | 2.4kb | 2023-11-11 22:43:05 | 2023-11-11 22:43:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3612kb
input:
4
output:
Yes 3 4 3 0 4 3 0 1 3 0 1 2 0 1 2 1
result:
ok 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
1
output:
Yes 0
result:
ok 1
Test #3:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
2
output:
Yes 0 0 0 0
result:
ok 1
Test #4:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
3
output:
Yes 1 0 1 2 1 0 1 0 0
result:
ok 1
Test #5:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
5
output:
Yes 7 0 3 4 1 8 3 4 1 2 7 0 9 2 5 0 3 4 1 2 3 4 1 2 0
result:
ok 1
Test #6:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
8
output:
Yes 15 16 15 0 11 20 11 4 16 15 0 7 0 11 4 9 15 0 7 8 3 4 25 6 16 7 8 3 4 25 6 9 7 8 3 12 1 6 9 2 8 3 12 1 6 9 2 5 19 12 17 14 1 2 5 2 12 17 14 1 10 5 10 5
result:
ok 1
Test #7:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
13
output:
Yes 63 0 31 32 15 16 39 24 35 92 3 20 41 64 31 32 15 16 39 24 99 28 3 20 41 22 31 32 15 16 39 24 99 28 67 20 105 22 9 32 15 48 7 88 35 28 67 52 9 22 41 6 31 0 71 56 7 8 67 52 73 54 9 6 33 0 23 40 7 8 51 12 65 54 9 22 33 26 47 0 23 8 51 12 49 14 1 54 1 26 5 16 7 40 19 12 51 4 49 14 1 26 5 18 ...
result:
ok 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
21
output:
Yes 127 0 63 64 159 96 143 112 15 80 167 88 39 8 115 140 99 28 99 4 121 128 63 64 159 96 143 112 15 80 167 88 39 8 115 140 83 12 99 4 121 134 127 0 159 96 399 112 271 80 167 88 295 8 115 140 83 172 67 4 121 134 57 0 63 0 31 32 271 80 167 344 39 72 179 12 115 12 67 36 217 6 57 70 63 64 31 32 79 1...
result:
ok 1
Test #9:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
34
output:
Yes 255 256 255 0 127 128 319 64 415 96 31 160 591 432 15 208 807 216 39 152 327 40 23 72 179 332 163 92 419 84 171 324 27 100 256 255 0 127 128 319 64 415 96 159 32 335 176 527 464 551 216 39 152 327 168 23 200 51 332 147 76 419 84 427 68 27 100 153 255 0 127 384 63 64 415 96 159 288 207 48 271 2...
result:
ok 1
Test #10:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
55
output:
Yes 1023 0 511 512 255 256 1663 384 1599 448 1087 832 1183 864 2207 1376 543 416 1615 432 79 688 271 1744 303 656 359 1688 103 280 1735 312 711 296 1751 40 599 392 627 1420 595 428 1107 684 323 1724 67 436 75 52 459 548 91 420 601 0 511 512 255 768 127 384 1599 448 575 448 1055 2912 159 1888 31 416...
result:
ok 1
Test #11:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
89
output:
Yes 2047 0 1023 3072 511 1536 6399 1792 4351 1280 2687 5504 639 1152 2879 1216 831 1216 2623 1344 191 1600 415 1632 2335 1760 2335 1696 351 1568 2511 1584 2383 1712 335 1712 2319 624 1423 592 1455 528 239 1296 743 3352 679 3416 679 1112 2951 1144 647 1336 711 1320 2775 40 1943 2120 951 1032 3059 103...
result:
ok 1
Test #12:
score: 0
Accepted
time: 2ms
memory: 3680kb
input:
100
output:
Yes 2047 2048 2047 0 1023 1024 2559 512 3327 4864 1279 2304 5759 2432 1151 2688 5439 10944 1343 4800 3135 4928 1215 576 3487 608 1183 864 3103 480 3615 416 607 1312 6863 1328 2767 304 1615 2480 5647 2416 1679 6480 1711 4432 2735 1296 751 16 2023 2072 1959 2136 1447 600 3463 632 2439 1592 455 3624 47...
result:
ok 1
Test #13:
score: 0
Accepted
time: 5ms
memory: 4684kb
input:
200
output:
Yes 8191 8192 8191 0 4095 4096 10239 2048 13311 19456 5119 9216 23039 9728 4607 10752 21759 43776 5375 19200 12543 19712 4863 2304 13951 2432 4735 3456 12415 1920 14463 1664 2431 5248 27455 5312 11071 1216 6463 9920 22591 9664 6719 25920 6847 17728 10943 5184 3007 64 8095 8288 7839 8544 5791 2400 13...
result:
ok 1
Test #14:
score: 0
Accepted
time: 8ms
memory: 6856kb
input:
300
output:
Yes 32767 0 16383 16384 8191 8192 20479 12288 51199 14336 2047 10240 54271 11264 21503 3072 17407 9216 23039 9728 6655 1536 29183 2560 13823 512 15615 17152 13567 2816 28927 3840 24831 3328 13055 2304 30335 35200 5759 24960 6783 25984 39039 10112 22655 42624 22911 34432 14719 17536 7039 9344 23359 4...
result:
ok 1
Test #15:
score: 0
Accepted
time: 21ms
memory: 9296kb
input:
400
output:
Yes 32767 32768 32767 0 16383 16384 40959 8192 53247 77824 20479 36864 92159 38912 18431 43008 87039 175104 21503 76800 50175 78848 19455 9216 55807 9728 18943 13824 49663 7680 57855 6656 9727 20992 109823 21248 44287 4864 25855 39680 90367 38656 26879 103680 27391 70912 43775 20736 12031 256 32383 ...
result:
ok 1
Test #16:
score: 0
Accepted
time: 30ms
memory: 12848kb
input:
500
output:
Yes 65535 0 32767 98304 16383 49152 204799 57344 139263 40960 86015 176128 20479 36864 92159 38912 26623 38912 83967 43008 6143 51200 13311 52224 74751 23552 107519 21504 44031 17408 113151 17920 109055 22016 2559 46592 16895 36352 29183 68096 62975 66048 11775 20992 44287 21248 107775 23296 107775 ...
result:
ok 1
Test #17:
score: 0
Accepted
time: 50ms
memory: 17344kb
input:
600
output:
Yes 131071 0 65535 65536 32767 32768 81919 49152 204799 57344 8191 40960 217087 45056 86015 12288 69631 36864 92159 38912 26623 6144 116735 10240 55295 2048 62463 68608 54271 11264 115711 15360 99327 13312 52223 9216 121343 140800 23039 99840 27135 103936 156159 40448 90623 170496 91647 137728 58879...
result:
ok 1
Test #18:
score: 0
Accepted
time: 65ms
memory: 22428kb
input:
700
output:
Yes 131071 0 65535 196608 32767 98304 147455 114688 16383 81920 172031 352256 40959 8192 118783 143360 86015 176128 69631 184320 75775 186368 75775 55296 198655 63488 2047 59392 71679 51200 78847 183296 70655 191488 66559 162816 99327 160768 101375 29696 134143 123904 137727 124416 268799 108032 150...
result:
ok 1
Test #19:
score: 0
Accepted
time: 91ms
memory: 28228kb
input:
800
output:
Yes 131071 131072 131071 0 65535 65536 163839 32768 212991 311296 81919 147456 368639 155648 73727 172032 348159 700416 86015 307200 200703 315392 77823 36864 223231 38912 75775 55296 198655 30720 231423 26624 38911 83968 439295 84992 177151 19456 103423 158720 361471 154624 107519 414720 109567 283...
result:
ok 1
Test #20:
score: 0
Accepted
time: 113ms
memory: 34896kb
input:
900
output:
Yes 262143 0 131071 131072 65535 196608 32767 98304 409599 114688 147455 114688 278527 81920 172031 352256 139263 106496 151551 372736 151551 110592 135167 61440 200703 315392 12287 102400 157695 366592 141311 382976 133119 112640 18431 239616 22527 100352 422911 101376 160767 68608 54271 207872 312...
result:
ok 1
Test #21:
score: 0
Accepted
time: 139ms
memory: 42380kb
input:
1000
output:
Yes 262143 0 131071 393216 65535 196608 819199 229376 557055 163840 344063 704512 81919 147456 368639 155648 106495 155648 335871 172032 24575 204800 53247 208896 299007 94208 430079 86016 176127 69632 452607 71680 436223 88064 10239 186368 67583 145408 116735 272384 251903 264192 47103 83968 177151...
result:
ok 1
Test #22:
score: 0
Accepted
time: 220ms
memory: 59408kb
input:
1200
output:
Yes 524287 0 262143 262144 131071 131072 327679 196608 819199 229376 32767 163840 868351 180224 344063 49152 278527 147456 368639 155648 106495 24576 466943 40960 221183 8192 249855 274432 217087 45056 462847 61440 397311 53248 208895 36864 485375 563200 92159 399360 108543 415744 624639 161792 3624...
result:
ok 1
Test #23:
score: 0
Accepted
time: 283ms
memory: 79744kb
input:
1400
output:
Yes 524287 0 262143 786432 131071 393216 589823 458752 65535 327680 688127 1409024 163839 32768 475135 573440 344063 704512 278527 737280 303103 745472 303103 221184 794623 253952 8191 237568 286719 204800 315391 733184 282623 765952 266239 651264 397311 643072 405503 118784 536575 495616 550911 497...
result:
ok 1
Test #24:
score: 0
Accepted
time: 384ms
memory: 103224kb
input:
1600
output:
Yes 524287 524288 524287 0 262143 262144 655359 131072 851967 1245184 327679 589824 1474559 622592 294911 688128 1392639 2801664 344063 1228800 802815 1261568 311295 147456 892927 155648 303103 221184 794623 122880 925695 106496 155647 335872 1757183 339968 708607 77824 413695 634880 1445887 618496 ...
result:
ok 1
Test #25:
score: 0
Accepted
time: 525ms
memory: 129992kb
input:
1800
output:
Yes 1048575 0 524287 524288 262143 786432 131071 393216 1638399 458752 589823 458752 1114111 327680 688127 1409024 557055 425984 606207 1490944 606207 442368 540671 245760 802815 1261568 49151 409600 630783 1466368 565247 1531904 532479 450560 73727 958464 90111 401408 1691647 405504 643071 274432 2...
result:
ok 1
Test #26:
score: 0
Accepted
time: 616ms
memory: 144348kb
input:
1900
output:
Yes 1048575 0 524287 524288 1310719 786432 1179647 917504 131071 655360 1376255 720896 327679 65536 950271 1146880 819199 229376 819199 32768 999423 1097728 212991 835584 1196031 868352 180223 802816 1286143 811008 106495 417792 40959 1007616 1056767 450560 73727 434176 90111 925696 3264511 929792 1...
result:
ok 1
Test #27:
score: 0
Accepted
time: 651ms
memory: 147260kb
input:
1920
output:
Yes 1048575 0 524287 1572864 262143 786432 1179647 917504 131071 655360 1376255 720896 327679 65536 950271 1146880 688127 1409024 32767 819200 1261567 835584 212991 311296 671743 1392640 704511 344064 49151 147456 892927 155648 827391 1269760 794623 188416 335871 172032 876543 139264 122879 401408 1...
result:
ok 1
Test #28:
score: 0
Accepted
time: 785ms
memory: 159444kb
input:
2000
output:
Yes 1048575 0 524287 1572864 262143 786432 3276799 917504 2228223 655360 1376255 2818048 327679 589824 1474559 622592 425983 622592 1343487 688128 98303 819200 212991 835584 1196031 376832 1720319 344064 704511 278528 1810431 286720 1744895 352256 40959 745472 270335 581632 466943 1089536 1007615 10...
result:
ok 1
Test #29:
score: 0
Accepted
time: 1ms
memory: 3916kb
input:
62
output:
Yes 1023 0 511 1536 255 768 3199 896 2175 640 1343 2752 319 576 1439 608 415 96 799 160 847 1200 847 176 1807 240 1551 464 559 1424 615 1432 551 1496 519 504 7 488 535 488 535 456 1587 460 2099 716 275 1772 19 940 1091 924 99 1940 107 916 1131 900 123 900 123 516 1024 1023 0 255 768 255 256 1151 64...
result:
ok 1
Test #30:
score: 0
Accepted
time: 2ms
memory: 3956kb
input:
130
output:
Yes 4095 4096 4095 0 3071 5120 3071 1024 2559 4608 3327 4864 3327 768 4351 256 3711 4480 3199 4736 3455 4224 3903 4288 3391 4800 3135 960 5183 2368 5823 64 3999 4192 3743 4448 3615 4576 543 3488 4703 2464 1631 6432 1743 6448 1743 2352 5711 2480 5711 176 3855 240 2575 1392 143 8016 175 2896 5167 2960...
result:
ok 1
Test #31:
score: 0
Accepted
time: 2ms
memory: 3820kb
input:
126
output:
Yes 4095 0 2047 6144 1023 3072 12799 3584 8703 2560 5375 11008 1279 2304 5759 10624 1663 6528 1151 2688 383 3200 4927 3264 319 704 7231 832 3263 576 7583 608 415 1120 2719 352 3615 224 1823 2208 1887 6176 479 1568 2511 1584 6479 1712 2383 1200 6927 1264 2831 1136 2959 5200 943 80 3887 4240 1903 2064...
result:
ok 1
Test #32:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
66
output:
Yes 1023 1024 1023 0 767 1280 767 256 1663 384 1599 448 575 1472 63 1344 671 1376 543 224 799 1056 975 3120 719 1328 2703 368 143 1360 687 1296 743 1304 679 1368 39 920 1095 824 199 808 215 776 247 520 499 1548 435 76 1939 108 1923 124 1667 348 675 3412 683 340 651 356 1179 836 59 900 1024 1023 0 5...
result:
ok 1
Test #33:
score: 0
Accepted
time: 142ms
memory: 43784kb
input:
1021
output:
Yes 262143 0 131071 393216 65535 196608 819199 229376 557055 163840 344063 704512 81919 147456 892927 155648 368639 155648 335871 172032 90111 139264 118783 143360 86015 176128 69631 446464 77823 167936 354303 169984 92159 432128 75775 186368 329727 178176 83967 174080 350207 10240 251903 264192 259...
result:
ok 1
Test #34:
score: 0
Accepted
time: 151ms
memory: 44032kb
input:
1022
output:
Yes 262143 0 131071 393216 65535 196608 819199 229376 557055 163840 344063 704512 81919 147456 892927 155648 368639 155648 335871 172032 90111 139264 118783 143360 86015 176128 69631 184320 77823 167936 354303 169984 354303 169984 75775 448512 67583 63488 198655 321536 71679 141312 120831 264192 259...
result:
ok 1
Test #35:
score: 0
Accepted
time: 147ms
memory: 43964kb
input:
1023
output:
Yes 262143 0 131071 393216 65535 196608 819199 229376 557055 163840 344063 704512 81919 147456 892927 155648 368639 155648 335871 172032 90111 139264 118783 143360 86015 176128 69631 184320 77823 167936 354303 169984 354303 169984 75775 448512 67583 63488 198655 321536 71679 174080 22527 231424 2918...
result:
ok 1
Test #36:
score: 0
Accepted
time: 150ms
memory: 44032kb
input:
1024
output:
Yes 262143 262144 262143 0 196607 327680 196607 65536 163839 294912 212991 311296 212991 278528 49151 16384 237567 286720 204799 40960 90111 139264 118783 405504 86015 176128 331775 184320 77823 167936 28671 167936 354303 169984 337919 186368 329727 63488 460799 59392 202751 43008 153599 100352 1607...
result:
ok 1
Test #37:
score: 0
Accepted
time: 144ms
memory: 44244kb
input:
1025
output:
Yes 262143 262144 262143 0 196607 327680 196607 65536 163839 294912 212991 311296 212991 278528 49151 16384 237567 286720 204799 40960 90111 139264 118783 405504 86015 176128 331775 184320 77823 167936 28671 167936 354303 169984 337919 186368 329727 63488 460799 59392 202751 43008 219135 34816 48844...
result:
ok 1
Test #38:
score: 0
Accepted
time: 155ms
memory: 44228kb
input:
1026
output:
Yes 262143 262144 262143 0 196607 327680 196607 65536 163839 294912 212991 311296 212991 278528 49151 16384 237567 286720 204799 40960 90111 139264 118783 405504 86015 176128 331775 184320 77823 20480 45055 200704 59391 202752 305151 88064 428031 96256 133119 124928 137215 108544 153599 100352 42291...
result:
ok 1
Test #39:
score: 0
Accepted
time: 149ms
memory: 44488kb
input:
1027
output:
Yes 262143 262144 262143 0 196607 327680 196607 65536 163839 294912 212991 311296 212991 278528 49151 16384 237567 286720 204799 40960 90111 139264 118783 405504 86015 176128 331775 184320 77823 20480 45055 200704 59391 202752 305151 88064 428031 96256 133119 124928 137215 59392 71679 51200 209919 3...
result:
ok 1
Extra Test:
score: 0
Extra Test Passed