QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#377693 | #8004. Bit Component | ucup-team006# | AC ✓ | 11ms | 5392kb | C++20 | 1.5kb | 2024-04-05 16:45:29 | 2024-04-05 16:45:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3596kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
3
output:
YES 1 3 2
result:
ok answer is 1
Test #4:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
4
output:
NO
result:
ok answer is 0
Test #5:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
7
output:
YES 7 5 4 6 2 3 1
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
13
output:
YES 12 8 10 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
14
output:
YES 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
15
output:
YES 15 13 12 8 14 10 11 9 7 5 4 6 2 3 1
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
25
output:
YES 24 16 17 19 18 22 20 21 23 25 15 13 12 8 14 10 11 9 7 5 4 6 2 3 1
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
26
output:
YES 24 16 17 19 18 26 22 20 21 23 25 15 13 12 8 14 10 11 9 7 5 4 6 2 3 1
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
27
output:
YES 24 16 17 19 27 18 26 22 20 21 23 25 15 13 12 8 14 10 11 9 7 5 4 6 2 3 1
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
53
output:
YES 48 32 33 35 51 34 50 38 36 52 37 53 39 41 43 42 46 40 44 45 47 49 31 29 28 24 16 30 26 27 25 23 21 20 22 18 19 17 15 13 12 8 14 10 11 9 7 5 4 6 2 3 1
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
105
output:
YES 96 64 65 67 99 66 98 70 102 68 100 69 101 71 103 73 105 75 74 78 72 104 76 77 79 81 83 82 86 84 85 87 89 91 90 94 80 88 92 93 95 97 63 61 60 56 48 32 62 58 59 57 55 53 52 54 50 51 49 47 45 44 40 46 42 43 41 39 37 36 38 34 35 33 31 29 28 24 16 30 26 27 25 23 21 20 22 18 19 17 15 13 12 8 14 10 11 ...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
221
output:
YES 192 128 129 131 195 130 194 134 198 132 196 133 197 135 199 137 201 139 203 138 202 142 206 136 200 140 204 141 205 143 207 145 209 147 211 146 210 150 214 148 212 149 213 151 215 153 217 155 219 154 218 158 144 208 152 216 156 220 157 221 159 161 163 162 166 164 165 167 169 171 170 174 168 172 ...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
473
output:
YES 384 256 257 259 387 258 386 262 390 260 388 261 389 263 391 265 393 267 395 266 394 270 398 264 392 268 396 269 397 271 399 273 401 275 403 274 402 278 406 276 404 277 405 279 407 281 409 283 411 282 410 286 414 272 400 280 408 284 412 285 413 287 415 289 417 291 419 290 418 294 422 292 420 293 ...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
934
output:
YES 768 512 513 515 771 514 770 518 774 516 772 517 773 519 775 521 777 523 779 522 778 526 782 520 776 524 780 525 781 527 783 529 785 531 787 530 786 534 790 532 788 533 789 535 791 537 793 539 795 538 794 542 798 528 784 536 792 540 796 541 797 543 799 545 801 547 803 546 802 550 806 548 804 549 ...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
1651
output:
YES 1536 1024 1025 1027 1539 1026 1538 1030 1542 1028 1540 1029 1541 1031 1543 1033 1545 1035 1547 1034 1546 1038 1550 1032 1544 1036 1548 1037 1549 1039 1551 1041 1553 1043 1555 1042 1554 1046 1558 1044 1556 1045 1557 1047 1559 1049 1561 1051 1563 1050 1562 1054 1566 1040 1552 1048 1560 1052 1564 1...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
3330
output:
YES 3072 2048 2049 2051 3075 2050 3074 2054 3078 2052 3076 2053 3077 2055 3079 2057 3081 2059 3083 2058 3082 2062 3086 2056 3080 2060 3084 2061 3085 2063 3087 2065 3089 2067 3091 2066 3090 2070 3094 2068 3092 2069 3093 2071 3095 2073 3097 2075 3099 2074 3098 2078 3102 2064 3088 2072 3096 2076 3100 2...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
7989
output:
YES 6144 4096 4097 4099 6147 4098 6146 4102 6150 4100 6148 4101 6149 4103 6151 4105 6153 4107 6155 4106 6154 4110 6158 4104 6152 4108 6156 4109 6157 4111 6159 4113 6161 4115 6163 4114 6162 4118 6166 4116 6164 4117 6165 4119 6167 4121 6169 4123 6171 4122 6170 4126 6174 4112 6160 4120 6168 4124 6172 4...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
14097
output:
YES 12288 8192 8193 8195 12291 8194 12290 8198 12294 8196 12292 8197 12293 8199 12295 8201 12297 8203 12299 8202 12298 8206 12302 8200 12296 8204 12300 8205 12301 8207 12303 8209 12305 8211 12307 8210 12306 8214 12310 8212 12308 8213 12309 8215 12311 8217 12313 8219 12315 8218 12314 8222 12318 8208 ...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 2ms
memory: 3680kb
input:
28913
output:
YES 24576 16384 16385 16387 24579 16386 24578 16390 24582 16388 24580 16389 24581 16391 24583 16393 24585 16395 24587 16394 24586 16398 24590 16392 24584 16396 24588 16397 24589 16399 24591 16401 24593 16403 24595 16402 24594 16406 24598 16404 24596 16405 24597 16407 24599 16409 24601 16411 24603 16...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 3ms
memory: 3872kb
input:
54980
output:
YES 49152 32768 32769 32771 49155 32770 49154 32774 49158 32772 49156 32773 49157 32775 49159 32777 49161 32779 49163 32778 49162 32782 49166 32776 49160 32780 49164 32781 49165 32783 49167 32785 49169 32787 49171 32786 49170 32790 49174 32788 49172 32789 49173 32791 49175 32793 49177 32795 49179 32...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 4ms
memory: 4244kb
input:
106284
output:
YES 98304 65536 65537 65539 98307 65538 98306 65542 98310 65540 98308 65541 98309 65543 98311 65545 98313 65547 98315 65546 98314 65550 98318 65544 98312 65548 98316 65549 98317 65551 98319 65553 98321 65555 98323 65554 98322 65558 98326 65556 98324 65557 98325 65559 98327 65561 98329 65563 98331 65...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 11ms
memory: 5392kb
input:
200000
output:
YES 196608 131072 131073 131075 196611 131074 196610 131078 196614 131076 196612 131077 196613 131079 196615 131081 196617 131083 196619 131082 196618 131086 196622 131080 196616 131084 196620 131085 196621 131087 196623 131089 196625 131091 196627 131090 196626 131094 196630 131092 196628 131093 19...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
3073
output:
YES 3072 2048 2049 2051 2050 2054 2052 2053 2055 2057 2059 2058 2062 2056 2060 2061 2063 2065 2067 2066 2070 2068 2069 2071 2073 2075 2074 2078 2064 2072 2076 2077 2079 2081 2083 2082 2086 2084 2085 2087 2089 2091 2090 2094 2088 2092 2093 2095 2097 2099 2098 2102 2100 2101 2103 2105 2107 2106 2110 2...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 2ms
memory: 3972kb
input:
16383
output:
YES 16383 16381 16380 16376 16368 16352 16320 16256 16128 15872 15360 14336 12288 8192 16382 16378 16379 16377 16375 16373 16372 16374 16370 16371 16369 16367 16365 16364 16360 16366 16362 16363 16361 16359 16357 16356 16358 16354 16355 16353 16351 16349 16348 16344 16336 16350 16346 16347 16345 163...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
32767
output:
YES 32767 32765 32764 32760 32752 32736 32704 32640 32512 32256 31744 30720 28672 24576 16384 32766 32762 32763 32761 32759 32757 32756 32758 32754 32755 32753 32751 32749 32748 32744 32750 32746 32747 32745 32743 32741 32740 32742 32738 32739 32737 32735 32733 32732 32728 32720 32734 32730 32731 32...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
399
output:
YES 384 256 257 259 387 258 386 262 390 260 388 261 389 263 391 265 393 267 395 266 394 270 398 264 392 268 396 269 397 271 399 273 275 274 278 276 277 279 281 283 282 286 272 280 284 285 287 289 291 290 294 292 293 295 297 299 298 302 296 300 301 303 305 307 306 310 308 309 311 313 315 314 318 288 ...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
228
output:
YES 192 128 129 131 195 130 194 134 198 132 196 133 197 135 199 137 201 139 203 138 202 142 206 136 200 140 204 141 205 143 207 145 209 147 211 146 210 150 214 148 212 149 213 151 215 153 217 155 219 154 218 158 222 144 208 152 216 156 220 157 221 159 223 161 225 163 227 162 226 166 164 228 165 167 ...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed