QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#345318 | #8004. Bit Component | ezteam1 | AC ✓ | 11ms | 7828kb | C++14 | 2.2kb | 2024-03-06 19:31:06 | 2024-03-06 19:31:06 |
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: 3760kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
3
output:
YES 1 3 2
result:
ok answer is 1
Test #4:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
4
output:
NO
result:
ok answer is 0
Test #5:
score: 0
Accepted
time: 1ms
memory: 3784kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 1ms
memory: 3784kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 1ms
memory: 3908kb
input:
7
output:
YES 1 3 5 7 2 6 4
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 1ms
memory: 3680kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
13
output:
YES 1 3 5 7 13 9 11 10 2 6 4 12 8
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
14
output:
YES 1 3 5 7 13 9 11 14 10 2 6 4 12 8
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
15
output:
YES 1 3 5 7 13 11 9 15 2 6 10 14 4 12 8
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 1ms
memory: 3812kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
25
output:
YES 1 3 5 7 13 11 9 25 17 19 21 23 18 22 20 16 24 15 2 6 10 14 4 12 8
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
26
output:
YES 1 3 5 7 13 11 9 25 17 19 21 23 18 26 22 20 16 24 15 2 6 10 14 4 12 8
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 0ms
memory: 3996kb
input:
27
output:
YES 1 3 5 7 13 11 9 25 17 19 27 21 23 18 26 22 20 16 24 15 2 6 10 14 4 12 8
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
53
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 49 33 35 51 37 53 39 45 43 41 47 34 50 38 42 46 36 52 44 40 32 48 31 2 6 10 14 26 22 18 30 4 12 20 28 8 24 16
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 1ms
memory: 3664kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
105
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 97 65 67 99 69 101 71 103 77 75 73 105 79 89 91 93 87 85 83 81 95 66 98 70 102 74 78 90 86 82 94 68 100 76 84 92 72 104 88 80 64 96 63 2 6 10 14 26 22 18 30 50 54 58 46 42 38 34 62 4 12 20 28 52 44 36 60 8 24...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
221
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 193 129 131 195 133 197 135 199 141 205 139 203 137 201 143 207 153 217 155 219 157 221 151 215 149...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
473
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 1ms
memory: 3844kb
input:
934
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 1ms
memory: 4104kb
input:
1651
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 1ms
memory: 3824kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 1ms
memory: 3976kb
input:
3330
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 1ms
memory: 4068kb
input:
7989
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 1ms
memory: 4116kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 1ms
memory: 4196kb
input:
14097
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 0ms
memory: 4184kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 2ms
memory: 4396kb
input:
28913
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 1ms
memory: 4548kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 0ms
memory: 4992kb
input:
54980
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 1ms
memory: 5224kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 6ms
memory: 5896kb
input:
106284
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 0ms
memory: 6968kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 11ms
memory: 7828kb
input:
200000
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 4064kb
input:
3073
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 2ms
memory: 4140kb
input:
16383
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 2ms
memory: 4388kb
input:
32767
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 0ms
memory: 4044kb
input:
399
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 127 193 195 197 199 205 203 201 207 217 219 221 215 213 211 209 223 241 243 245 247 253 251 249 239...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 1ms
memory: 3788kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
228
output:
YES 1 3 5 7 13 11 9 15 25 27 29 23 21 19 17 31 49 51 53 55 61 59 57 47 41 43 45 39 37 35 33 63 97 99 101 103 109 107 105 111 121 123 125 119 117 115 113 95 81 83 85 87 93 91 89 79 73 75 77 71 69 67 65 193 129 131 195 133 197 135 199 141 205 139 203 137 201 143 207 153 217 155 219 157 221 151 215 149...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed