QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#322483 | #8004. Bit Component | MaMengQi | AC ✓ | 4ms | 4788kb | C++20 | 1.8kb | 2024-02-07 03:11:49 | 2024-02-07 03:11:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3592kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3592kb
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: 3496kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
7
output:
YES 1 3 7 5 4 6 2
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
13
output:
YES 2 6 3 1 5 7 13 9 11 10 8 12 4
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
14
output:
YES 2 6 3 1 5 7 13 9 11 10 14 8 12 4
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
15
output:
YES 2 6 3 1 5 7 13 9 11 15 10 14 8 12 4
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
25
output:
YES 4 12 7 5 1 3 6 2 10 14 11 9 13 15 25 17 19 18 22 23 21 20 16 24 8
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
26
output:
YES 4 12 7 5 1 3 6 2 10 14 11 9 13 15 25 17 19 18 26 22 23 21 20 16 24 8
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
27
output:
YES 4 12 7 5 1 3 6 2 10 14 11 9 13 15 25 17 19 27 18 26 22 23 21 20 16 24 8
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
53
output:
YES 8 24 15 13 9 11 14 10 2 6 3 1 5 7 12 4 20 28 23 21 17 19 22 18 26 30 27 25 29 31 49 33 35 51 34 50 38 39 37 53 36 52 44 45 47 46 42 43 41 40 32 48 16
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
105
output:
YES 16 48 31 29 25 27 30 26 18 22 19 17 21 23 28 20 4 12 7 5 1 3 6 2 10 14 11 9 13 15 24 8 40 56 47 45 41 43 46 42 34 38 35 33 37 39 44 36 52 60 55 53 49 51 54 50 58 62 59 57 61 63 97 65 67 99 66 98 70 102 71 103 69 101 68 100 76 77 79 78 74 75 73 105 72 104 88 89 91 90 94 95 93 92 84 85 87 86 82 83...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
221
output:
YES 32 96 63 61 57 59 62 58 50 54 51 49 53 55 60 52 36 44 39 37 33 35 38 34 42 46 43 41 45 47 56 40 8 24 15 13 9 11 14 10 2 6 3 1 5 7 12 4 20 28 23 21 17 19 22 18 26 30 27 25 29 31 48 16 80 112 95 93 89 91 94 90 82 86 83 81 85 87 92 84 68 76 71 69 65 67 70 66 74 78 75 73 77 79 88 72 104 120 111 109 ...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
473
output:
YES 64 192 127 125 121 123 126 122 114 118 115 113 117 119 124 116 100 108 103 101 97 99 102 98 106 110 107 105 109 111 120 104 72 88 79 77 73 75 78 74 66 70 67 65 69 71 76 68 84 92 87 85 81 83 86 82 90 94 91 89 93 95 112 80 16 48 31 29 25 27 30 26 18 22 19 17 21 23 28 20 4 12 7 5 1 3 6 2 10 14 11 9...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
934
output:
YES 128 384 255 253 249 251 254 250 242 246 243 241 245 247 252 244 228 236 231 229 225 227 230 226 234 238 235 233 237 239 248 232 200 216 207 205 201 203 206 202 194 198 195 193 197 199 204 196 212 220 215 213 209 211 214 210 218 222 219 217 221 223 240 208 144 176 159 157 153 155 158 154 146 150 ...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
1651
output:
YES 256 768 511 509 505 507 510 506 498 502 499 497 501 503 508 500 484 492 487 485 481 483 486 482 490 494 491 489 493 495 504 488 456 472 463 461 457 459 462 458 450 454 451 449 453 455 460 452 468 476 471 469 465 467 470 466 474 478 475 473 477 479 496 464 400 432 415 413 409 411 414 410 402 406 ...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
3330
output:
YES 512 1536 1023 1021 1017 1019 1022 1018 1010 1014 1011 1009 1013 1015 1020 1012 996 1004 999 997 993 995 998 994 1002 1006 1003 1001 1005 1007 1016 1000 968 984 975 973 969 971 974 970 962 966 963 961 965 967 972 964 980 988 983 981 977 979 982 978 986 990 987 985 989 991 1008 976 912 944 927 925...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
7989
output:
YES 1024 3072 2047 2045 2041 2043 2046 2042 2034 2038 2035 2033 2037 2039 2044 2036 2020 2028 2023 2021 2017 2019 2022 2018 2026 2030 2027 2025 2029 2031 2040 2024 1992 2008 1999 1997 1993 1995 1998 1994 1986 1990 1987 1985 1989 1991 1996 1988 2004 2012 2007 2005 2001 2003 2006 2002 2010 2014 2011 2...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 1ms
memory: 3668kb
input:
14097
output:
YES 2048 6144 4095 4093 4089 4091 4094 4090 4082 4086 4083 4081 4085 4087 4092 4084 4068 4076 4071 4069 4065 4067 4070 4066 4074 4078 4075 4073 4077 4079 4088 4072 4040 4056 4047 4045 4041 4043 4046 4042 4034 4038 4035 4033 4037 4039 4044 4036 4052 4060 4055 4053 4049 4051 4054 4050 4058 4062 4059 4...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 1ms
memory: 3876kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 2ms
memory: 3728kb
input:
28913
output:
YES 4096 12288 8191 8189 8185 8187 8190 8186 8178 8182 8179 8177 8181 8183 8188 8180 8164 8172 8167 8165 8161 8163 8166 8162 8170 8174 8171 8169 8173 8175 8184 8168 8136 8152 8143 8141 8137 8139 8142 8138 8130 8134 8131 8129 8133 8135 8140 8132 8148 8156 8151 8149 8145 8147 8150 8146 8154 8158 8155 ...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 3ms
memory: 3760kb
input:
54980
output:
YES 8192 24576 16383 16381 16377 16379 16382 16378 16370 16374 16371 16369 16373 16375 16380 16372 16356 16364 16359 16357 16353 16355 16358 16354 16362 16366 16363 16361 16365 16367 16376 16360 16328 16344 16335 16333 16329 16331 16334 16330 16322 16326 16323 16321 16325 16327 16332 16324 16340 163...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 1ms
memory: 3936kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
106284
output:
YES 16384 49152 32767 32765 32761 32763 32766 32762 32754 32758 32755 32753 32757 32759 32764 32756 32740 32748 32743 32741 32737 32739 32742 32738 32746 32750 32747 32745 32749 32751 32760 32744 32712 32728 32719 32717 32713 32715 32718 32714 32706 32710 32707 32705 32709 32711 32716 32708 32724 32...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 2ms
memory: 3988kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 4ms
memory: 4788kb
input:
200000
output:
YES 32768 98304 65535 65533 65529 65531 65534 65530 65522 65526 65523 65521 65525 65527 65532 65524 65508 65516 65511 65509 65505 65507 65510 65506 65514 65518 65515 65513 65517 65519 65528 65512 65480 65496 65487 65485 65481 65483 65486 65482 65474 65478 65475 65473 65477 65479 65484 65476 65492 65...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
3073
output:
YES 512 1536 1023 1021 1017 1019 1022 1018 1010 1014 1011 1009 1013 1015 1020 1012 996 1004 999 997 993 995 998 994 1002 1006 1003 1001 1005 1007 1016 1000 968 984 975 973 969 971 974 970 962 966 963 961 965 967 972 964 980 988 983 981 977 979 982 978 986 990 987 985 989 991 1008 976 912 944 927 925...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
16383
output:
YES 2048 6144 4095 4093 4089 4091 4094 4090 4082 4086 4083 4081 4085 4087 4092 4084 4068 4076 4071 4069 4065 4067 4070 4066 4074 4078 4075 4073 4077 4079 4088 4072 4040 4056 4047 4045 4041 4043 4046 4042 4034 4038 4035 4033 4037 4039 4044 4036 4052 4060 4055 4053 4049 4051 4054 4050 4058 4062 4059 4...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 2ms
memory: 3960kb
input:
32767
output:
YES 4096 12288 8191 8189 8185 8187 8190 8186 8178 8182 8179 8177 8181 8183 8188 8180 8164 8172 8167 8165 8161 8163 8166 8162 8170 8174 8171 8169 8173 8175 8184 8168 8136 8152 8143 8141 8137 8139 8142 8138 8130 8134 8131 8129 8133 8135 8140 8132 8148 8156 8151 8149 8145 8147 8150 8146 8154 8158 8155 ...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
399
output:
YES 64 192 127 125 121 123 126 122 114 118 115 113 117 119 124 116 100 108 103 101 97 99 102 98 106 110 107 105 109 111 120 104 72 88 79 77 73 75 78 74 66 70 67 65 69 71 76 68 84 92 87 85 81 83 86 82 90 94 91 89 93 95 112 80 16 48 31 29 25 27 30 26 18 22 19 17 21 23 28 20 4 12 7 5 1 3 6 2 10 14 11 9...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 1ms
memory: 3480kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
228
output:
YES 32 96 63 61 57 59 62 58 50 54 51 49 53 55 60 52 36 44 39 37 33 35 38 34 42 46 43 41 45 47 56 40 8 24 15 13 9 11 14 10 2 6 3 1 5 7 12 4 20 28 23 21 17 19 22 18 26 30 27 25 29 31 48 16 80 112 95 93 89 91 94 90 82 86 83 81 85 87 92 84 68 76 71 69 65 67 70 66 74 78 75 73 77 79 88 72 104 120 111 109 ...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed