QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#304672 | #8004. Bit Component | ucup-team121# | AC ✓ | 11ms | 10140kb | C++20 | 2.6kb | 2024-01-13 23:43:45 | 2024-01-13 23:43:46 |
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: 1ms
memory: 3424kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3424kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3424kb
input:
3
output:
YES 2 3 1
result:
ok answer is 1
Test #4:
score: 0
Accepted
time: 1ms
memory: 3500kb
input:
4
output:
NO
result:
ok answer is 0
Test #5:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 0ms
memory: 3472kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 0ms
memory: 3452kb
input:
7
output:
YES 2 3 1 7 5 4 6
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 0ms
memory: 3436kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 1ms
memory: 3476kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3416kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
13
output:
YES 4 6 2 3 1 5 7 13 9 11 10 12 8
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
14
output:
YES 4 6 2 3 1 5 7 13 9 11 14 10 12 8
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
15
output:
YES 4 6 2 3 1 5 7 13 9 15 11 14 10 12 8
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 0ms
memory: 3432kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 0ms
memory: 3476kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3432kb
input:
25
output:
YES 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 25 17 19 18 22 20 23 21 24 16
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 0ms
memory: 3420kb
input:
26
output:
YES 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 25 17 19 26 18 22 20 23 21 24 16
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
27
output:
YES 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 25 17 27 19 26 18 22 20 23 21 24 16
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 1ms
memory: 3424kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
53
output:
YES 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 49 33 51 35 50 34 38 52 36 44 40 47 45 41 43 42 46 39 53 37 48 32
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 1ms
memory: 3500kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
105
output:
YES 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 97 65 99 67 98 66 102 70 100 68 76 104 72 88 80 95 93 89 91 90 94 87 85 81 83 82 86 84 92 79 77 105 73 75 74 78 103 ...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 1ms
memory: 3512kb
input:
221
output:
YES 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 91 89 93 95 120 104 108 1...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 1ms
memory: 3452kb
input:
473
output:
YES 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 91 89 93 95 120 1...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 1ms
memory: 3464kb
input:
934
output:
YES 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 91 89 93 ...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3476kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 1ms
memory: 3504kb
input:
1651
output:
YES 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 9...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 0ms
memory: 3464kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
3330
output:
YES 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 ...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
7989
output:
YES 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 2ms
memory: 3876kb
input:
14097
output:
YES 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 9...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 1ms
memory: 3504kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 3ms
memory: 4376kb
input:
28913
output:
YES 8192 12288 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 1ms
memory: 3428kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 4ms
memory: 4936kb
input:
54980
output:
YES 16384 24576 8192 12288 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 1ms
memory: 3480kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 9ms
memory: 6892kb
input:
106284
output:
YES 32768 49152 16384 24576 8192 12288 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 0ms
memory: 3464kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 11ms
memory: 10140kb
input:
200000
output:
YES 65536 98304 32768 49152 16384 24576 8192 12288 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
3073
output:
YES 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 ...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 0ms
memory: 3916kb
input:
16383
output:
YES 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 9...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 3ms
memory: 4452kb
input:
32767
output:
YES 8192 12288 4096 6144 2048 3072 1024 1536 512 768 256 384 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 1ms
memory: 3500kb
input:
399
output:
YES 128 192 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 91 89 93 95 120 1...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
228
output:
YES 64 96 32 48 16 24 8 12 4 6 2 3 1 5 7 14 10 11 9 13 15 28 20 22 18 19 17 21 23 30 26 27 25 29 31 56 40 44 36 38 34 35 33 37 39 46 42 43 41 45 47 60 52 54 50 51 49 53 55 62 58 59 57 61 63 112 80 88 72 76 68 70 66 67 65 69 71 78 74 75 73 77 79 92 84 86 82 83 81 85 87 94 90 91 89 93 95 120 104 108 1...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed