QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#304201#8004. Bit Componentucup-team2818#RE 6ms4808kbC++141.6kb2024-01-13 16:24:422024-01-13 16:24:42

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3652kb

input:

1

output:

YES
1

result:

ok answer is 1

Test #2:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

2

output:

NO

result:

ok answer is 0

Test #3:

score: 0
Accepted
time: 0ms
memory: 3744kb

input:

3

output:

YES
1 3 2

result:

ok answer is 1

Test #4:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

4

output:

NO

result:

ok answer is 0

Test #5:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

5

output:

NO

result:

ok answer is 0

Test #6:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

6

output:

NO

result:

ok answer is 0

Test #7:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

7

output:

YES
7 5 4 6 2 3 1 

result:

ok answer is 1

Test #8:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

8

output:

NO

result:

ok answer is 0

Test #9:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

9

output:

NO

result:

ok answer is 0

Test #10:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

10

output:

NO

result:

ok answer is 0

Test #11:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

11

output:

NO

result:

ok answer is 0

Test #12:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

12

output:

NO

result:

ok answer is 0

Test #13:

score: 0
Accepted
time: 0ms
memory: 3684kb

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: 3712kb

input:

14

output:

YES
12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #15:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

15

output:

YES
15 12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #16:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

16

output:

NO

result:

ok answer is 0

Test #17:

score: 0
Accepted
time: 0ms
memory: 3708kb

input:

17

output:

NO

result:

ok answer is 0

Test #18:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

23

output:

NO

result:

ok answer is 0

Test #19:

score: 0
Accepted
time: 0ms
memory: 3720kb

input:

24

output:

NO

result:

ok answer is 0

Test #20:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

25

output:

YES
24 16 17 19 18 22 20 21 23 25 15 12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #21:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

26

output:

YES
24 16 17 19 26 18 22 20 21 23 25 15 12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #22:

score: 0
Accepted
time: 0ms
memory: 3728kb

input:

27

output:

YES
24 16 17 27 19 26 18 22 20 21 23 25 15 12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #23:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

40

output:

NO

result:

ok answer is 0

Test #24:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

53

output:

YES
48 32 33 51 35 50 34 38 52 36 53 37 39 45 41 43 42 46 40 44 47 49 31 24 16 17 27 19 26 18 30 22 28 20 29 21 23 25 15 12 8 14 10 11 9 13 7 5 4 6 2 3 1 

result:

ok answer is 1

Test #25:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

93

output:

NO

result:

ok answer is 0

Test #26:

score: 0
Accepted
time: 0ms
memory: 3796kb

input:

105

output:

YES
96 64 65 99 67 98 66 102 70 100 68 101 69 103 71 77 105 73 75 74 78 104 72 76 79 89 87 85 93 84 92 86 94 82 90 83 91 81 80 88 95 97 63 48 32 33 51 35 50 34 54 38 52 36 53 37 55 39 61 45 57 41 59 43 58 42 62 46 56 40 60 44 47 49 31 24 16 17 27 19 26 18 30 22 28 20 29 21 23 25 15 12 8 14 10 11 9 1...

result:

ok answer is 1

Test #27:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

132

output:

NO

result:

ok answer is 0

Test #28:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

221

output:

YES
192 128 129 195 131 194 130 198 134 196 132 197 133 199 135 205 141 201 137 203 139 202 138 206 142 200 136 204 140 207 143 217 153 215 151 213 149 221 157 212 148 220 156 214 150 158 210 146 218 154 211 147 219 155 209 145 208 144 216 152 159 177 175 172 188 168 184 174 190 170 186 171 187 169 ...

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: 3832kb

input:

473

output:

YES
384 256 257 387 259 386 258 390 262 388 260 389 261 391 263 397 269 393 265 395 267 394 266 398 270 392 264 396 268 399 271 409 281 407 279 405 277 413 285 404 276 412 284 406 278 414 286 402 274 410 282 403 275 411 283 401 273 400 272 408 280 415 287 433 305 431 303 428 300 444 316 424 296 440 ...

result:

ok answer is 1

Test #31:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

513

output:

NO

result:

ok answer is 0

Test #32:

score: 0
Accepted
time: 0ms
memory: 3784kb

input:

934

output:

YES
768 512 513 771 515 770 514 774 518 772 516 773 517 775 519 781 525 777 521 779 523 778 522 782 526 776 520 780 524 783 527 793 537 791 535 789 533 797 541 788 532 796 540 790 534 798 542 786 530 794 538 787 531 795 539 785 529 784 528 792 536 799 543 817 561 815 559 812 556 828 572 808 552 824 ...

result:

ok answer is 1

Test #33:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

1356

output:

NO

result:

ok answer is 0

Test #34:

score: 0
Accepted
time: 1ms
memory: 3860kb

input:

1651

output:

YES
1536 1024 1025 1539 1027 1538 1026 1542 1030 1540 1028 1541 1029 1543 1031 1549 1037 1545 1033 1547 1035 1546 1034 1550 1038 1544 1032 1548 1036 1551 1039 1561 1049 1559 1047 1557 1045 1565 1053 1556 1044 1564 1052 1558 1046 1566 1054 1554 1042 1562 1050 1555 1043 1563 1051 1553 1041 1552 1040 1...

result:

ok answer is 1

Test #35:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

2263

output:

NO

result:

ok answer is 0

Test #36:

score: 0
Accepted
time: 1ms
memory: 3928kb

input:

3330

output:

YES
3072 2048 2049 3075 2051 3074 2050 3078 2054 3076 2052 3077 2053 3079 2055 3085 2061 3081 2057 3083 2059 3082 2058 3086 2062 3080 2056 3084 2060 3087 2063 3097 2073 3095 2071 3093 2069 3101 2077 3092 2068 3100 2076 3094 2070 3102 2078 3090 2066 3098 2074 3091 2067 3099 2075 3089 2065 3088 2064 3...

result:

ok answer is 1

Test #37:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

4375

output:

NO

result:

ok answer is 0

Test #38:

score: 0
Accepted
time: 1ms
memory: 3908kb

input:

7989

output:

YES
6144 4096 4097 6147 4099 6146 4098 6150 4102 6148 4100 6149 4101 6151 4103 6157 4109 6153 4105 6155 4107 6154 4106 6158 4110 6152 4104 6156 4108 6159 4111 6169 4121 6167 4119 6165 4117 6173 4125 6164 4116 6172 4124 6166 4118 6174 4126 6162 4114 6170 4122 6163 4115 6171 4123 6161 4113 6160 4112 6...

result:

ok answer is 1

Test #39:

score: 0
Accepted
time: 0ms
memory: 3976kb

input:

10925

output:

NO

result:

ok answer is 0

Test #40:

score: 0
Accepted
time: 0ms
memory: 4052kb

input:

14097

output:

YES
12288 8192 8193 12291 8195 12290 8194 12294 8198 12292 8196 12293 8197 12295 8199 12301 8205 12297 8201 12299 8203 12298 8202 12302 8206 12296 8200 12300 8204 12303 8207 12313 8217 12311 8215 12309 8213 12317 8221 12308 8212 12316 8220 12310 8214 12318 8222 12306 8210 12314 8218 12307 8211 12315...

result:

ok answer is 1

Test #41:

score: 0
Accepted
time: 1ms
memory: 4076kb

input:

16893

output:

NO

result:

ok answer is 0

Test #42:

score: 0
Accepted
time: 2ms
memory: 4180kb

input:

28913

output:

YES
24576 16384 16385 24579 16387 24578 16386 24582 16390 24580 16388 24581 16389 24583 16391 24589 16397 24585 16393 24587 16395 24586 16394 24590 16398 24584 16392 24588 16396 24591 16399 24601 16409 24599 16407 24597 16405 24605 16413 24596 16404 24604 16412 24598 16406 24606 16414 24594 16402 24...

result:

ok answer is 1

Test #43:

score: 0
Accepted
time: 1ms
memory: 4304kb

input:

40092

output:

NO

result:

ok answer is 0

Test #44:

score: 0
Accepted
time: 3ms
memory: 4436kb

input:

54980

output:

YES
49152 32768 32769 49155 32771 49154 32770 49158 32774 49156 32772 49157 32773 49159 32775 49165 32781 49161 32777 49163 32779 49162 32778 49166 32782 49160 32776 49164 32780 49167 32783 49177 32793 49175 32791 49173 32789 49181 32797 49172 32788 49180 32796 49174 32790 49182 32798 49170 32786 49...

result:

ok answer is 1

Test #45:

score: 0
Accepted
time: 0ms
memory: 4792kb

input:

88104

output:

NO

result:

ok answer is 0

Test #46:

score: 0
Accepted
time: 6ms
memory: 4808kb

input:

106284

output:

YES
98304 65536 65537 98307 65539 98306 65538 98310 65542 98308 65540 98309 65541 98311 65543 98317 65549 98313 65545 98315 65547 98314 65546 98318 65550 98312 65544 98316 65548 98319 65551 98329 65561 98327 65559 98325 65557 98333 65565 98324 65556 98332 65564 98326 65558 98334 65566 98322 65554 98...

result:

ok answer is 1

Test #47:

score: -100
Runtime Error

input:

152797

output:


result: