QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#304302 | #8004. Bit Component | ucup-team1126# | AC ✓ | 12ms | 4496kb | C++14 | 2.8kb | 2024-01-13 17:28:49 | 2024-01-13 17:28:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3812kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
3
output:
YES 1 3 2
result:
ok answer is 1
Test #4:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
4
output:
NO
result:
ok answer is 0
Test #5:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
7
output:
YES 1 3 2 6 7 5 4
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
13
output:
YES 10 11 9 13 7 5 1 3 2 6 4 12 8
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
14
output:
YES 10 14 11 9 13 7 5 1 3 2 6 4 12 8
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
15
output:
YES 1 3 2 6 7 5 4 12 13 15 14 10 11 9 8
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
25
output:
YES 20 21 23 22 18 19 17 25 15 1 3 2 6 7 5 4 12 14 10 11 9 13 8 24 16
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
26
output:
YES 20 21 23 22 26 18 19 17 25 15 1 3 2 6 7 5 4 12 14 10 11 9 13 8 24 16
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
27
output:
YES 20 22 18 26 14 10 2 6 4 12 8 24 16 17 25 9 13 5 7 3 11 15 27 19 23 21 1
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
53
output:
YES 40 42 46 44 52 36 38 34 50 30 2 6 4 12 14 10 8 24 28 20 22 18 26 16 48 32 33 49 17 27 19 23 21 29 25 9 11 15 13 5 7 3 31 51 35 39 37 53 45 47 43 41 1
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
105
output:
YES 80 84 92 88 104 72 76 68 100 60 4 12 8 24 28 20 16 48 56 40 44 36 52 32 96 64 66 98 34 54 38 46 42 58 50 18 22 30 26 10 14 6 62 102 70 78 74 90 94 86 82 2 3 83 87 95 91 75 79 71 103 63 7 15 11 27 31 23 19 51 59 43 47 39 55 35 99 67 65 97 33 53 37 45 41 57 49 17 21 29 25 9 13 5 61 101 69 77 73 10...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
221
output:
YES 160 168 184 176 220 216 208 144 152 136 200 120 8 24 16 48 56 40 32 96 112 80 88 72 104 64 192 128 132 196 68 108 76 92 84 116 100 36 44 60 52 20 28 12 124 204 140 156 148 212 180 188 172 164 4 6 166 174 190 182 214 150 158 142 206 126 14 30 22 54 62 46 38 102 118 86 94 78 110 70 198 134 130 194...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
473
output:
YES 320 448 352 288 416 224 160 32 96 64 192 128 384 256 472 464 272 400 144 208 80 112 48 176 240 432 304 368 336 16 24 344 376 312 440 248 184 56 120 88 216 152 408 280 264 392 136 200 72 104 40 168 232 424 296 360 456 328 8 12 332 460 364 300 428 236 172 44 108 76 204 140 396 268 284 412 156 220 ...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
934
output:
YES 640 896 704 576 832 448 320 64 192 128 384 256 768 512 928 544 800 288 416 160 224 96 352 480 864 608 736 672 32 48 688 752 624 880 496 368 112 240 176 432 304 816 560 528 784 272 400 144 208 80 336 464 848 592 720 912 656 16 24 664 920 728 600 856 472 344 88 216 152 408 280 792 536 568 824 312 ...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
1651
output:
YES 1280 1312 1376 1344 1472 1504 1440 1408 1152 1184 1248 1216 1648 1632 1600 1088 1120 1056 1568 992 32 96 64 192 224 160 128 384 416 480 448 320 352 288 256 768 800 864 832 960 896 640 672 736 704 576 608 544 928 512 1536 1024 1040 1552 528 944 560 624 592 720 752 688 656 912 976 848 880 816 784 ...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 1ms
memory: 3668kb
input:
3330
output:
YES 2560 2688 2944 2816 3328 2304 2432 2176 3200 1920 128 384 256 768 896 640 512 1536 1792 1280 1408 1152 1664 1024 3072 2048 2112 3136 1088 1728 1216 1472 1344 1856 1600 576 704 960 832 320 448 192 1984 3264 2240 2496 2368 2880 3008 2752 2624 64 96 2656 2784 3040 2912 2400 2528 2272 3296 2016 224 ...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
7989
output:
YES 5120 7936 7680 7168 5632 4608 6656 3584 2560 512 1536 1024 3072 2048 6144 4096 4352 6400 2304 3328 1280 1792 768 2816 3840 6912 4864 5888 7424 5376 256 384 5504 7552 6016 4992 7040 3968 2944 896 1920 1408 3456 2432 6528 4480 4224 6272 2176 3200 1152 1664 640 2688 3712 6784 4736 5760 7296 7808 52...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 1ms
memory: 4000kb
input:
14097
output:
YES 10240 10752 11776 11264 14080 13824 13312 9216 9728 8704 12800 7680 512 1536 1024 3072 3584 2560 2048 6144 7168 5120 5632 4608 6656 4096 12288 8192 8448 12544 4352 6912 4864 5888 5376 7424 6400 2304 2816 3840 3328 1280 1792 768 7936 13056 8960 9984 9472 13568 11520 12032 11008 10496 256 384 1062...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
28913
output:
YES 20480 28672 22528 18432 26624 14336 10240 2048 6144 4096 12288 8192 24576 16384 17408 25600 9216 13312 5120 7168 3072 11264 15360 27648 19456 23552 21504 1024 1536 22016 24064 19968 28160 15872 11776 3584 7680 5632 13824 9728 26112 17920 16896 25088 8704 12800 4608 6656 2560 10752 14848 27136 18...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 3ms
memory: 4016kb
input:
54980
output:
YES 40960 43008 47104 45056 53248 36864 38912 34816 51200 30720 2048 6144 4096 12288 14336 10240 8192 24576 28672 20480 22528 18432 26624 16384 49152 32768 33792 50176 17408 27648 19456 23552 54784 54272 21504 29696 25600 9216 11264 15360 13312 5120 7168 3072 31744 52224 35840 39936 37888 46080 4812...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 6ms
memory: 4080kb
input:
106284
output:
YES 81920 83968 88064 86016 94208 96256 92160 90112 73728 75776 79872 77824 106240 105984 105472 104448 102400 69632 71680 67584 100352 63488 2048 6144 4096 12288 14336 10240 8192 24576 26624 30720 28672 20480 22528 18432 16384 49152 51200 55296 53248 61440 57344 40960 43008 47104 45056 36864 38912 ...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 12ms
memory: 4496kb
input:
200000
output:
YES 163840 164864 166912 165888 169984 171008 168960 167936 176128 177152 179200 178176 174080 175104 173056 172032 188416 189440 191488 190464 194560 195584 193536 192512 184320 185344 187392 186368 182272 183296 181248 180224 147456 148480 150528 149504 153600 154624 152576 151552 159744 160768 16...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 3924kb
input:
3073
output:
YES 2560 2561 2563 2562 2566 2567 2565 2564 2572 2573 2575 2574 2570 2571 2569 2568 2584 2585 2587 2586 2590 2591 2589 2588 2580 2581 2583 2582 2578 2579 2577 2576 2608 2609 2611 2610 2614 2615 2613 2612 2620 2621 2623 2622 2618 2619 2617 2616 2600 2601 2603 2602 2606 2607 2605 2604 2596 2597 2599 2...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
16383
output:
YES 1 3 2 6 7 5 4 12 13 15 14 10 11 9 8 24 25 27 26 30 31 29 28 20 21 23 22 18 19 17 16 48 49 51 50 54 55 53 52 60 61 63 62 58 59 57 56 40 41 43 42 46 47 45 44 36 37 39 38 34 35 33 32 96 97 99 98 102 103 101 100 108 109 111 110 106 107 105 104 120 121 123 122 126 127 125 124 116 117 119 118 114 115 ...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 2ms
memory: 3724kb
input:
32767
output:
YES 1 3 2 6 7 5 4 12 13 15 14 10 11 9 8 24 25 27 26 30 31 29 28 20 21 23 22 18 19 17 16 48 49 51 50 54 55 53 52 60 61 63 62 58 59 57 56 40 41 43 42 46 47 45 44 36 37 39 38 34 35 33 32 96 97 99 98 102 103 101 100 108 109 111 110 106 107 105 104 120 121 123 122 126 127 125 124 116 117 119 118 114 115 ...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
399
output:
YES 320 328 344 336 368 376 360 352 288 296 312 304 272 280 264 392 248 8 24 16 48 56 40 32 96 104 120 112 80 88 72 64 192 200 216 208 240 224 160 168 184 176 144 152 136 232 128 384 256 260 388 132 236 140 156 148 180 188 172 164 228 244 212 220 204 196 68 76 92 84 116 124 108 100 36 44 60 52 20 28...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
228
output:
YES 160 224 176 144 208 112 80 16 48 32 96 64 192 128 136 200 72 104 40 56 24 88 120 216 152 184 168 8 12 172 188 156 220 124 92 28 60 44 108 76 204 140 228 132 196 68 100 36 52 20 84 116 212 148 180 164 4 6 166 182 150 214 118 86 22 54 38 102 70 198 134 142 206 78 110 46 62 30 94 126 222 158 190 17...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed