QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#525626 | #5120. Power of Two | ucup-team2880 | AC ✓ | 211ms | 8448kb | C++20 | 5.2kb | 2024-08-20 19:37:19 | 2024-08-20 19:37:19 |
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: 4068kb
input:
4 4 3 0 1 1 0 1 0 4 1 0 3 1 0 1 0 8 0 2 6 1 5 5 7 1 5 5 7 8 0 0 8 1 5 5 7 1 5 5 7
output:
0010 &&&^ 1 0 0 1 0011 ^&^^ 0 1 1 0 10100000 ^|^^^|^^ 7 7 5 5 5 5 1 1 00000000 ^^^^^^^^ 7 7 5 5 5 5 1 1
result:
ok ok the answer is correct (4 test cases)
Test #2:
score: 0
Accepted
time: 211ms
memory: 8152kb
input:
16 65511 1 1 65509 42389 52308 9452 29149 28980 48173 38152 51625 29991 48293 12319 38611 47245 11954 45410 33185 30976 56806 18986 35564 25430 48493 26311 19090 42172 33403 62406 15847 51266 33712 53139 15610 50006 62298 28716 19191 3057 35733 12331 14483 9604 16610 18534 32110 35673 5239 31310 279...
output:
011100011111111101111001001110101111111101101101011111011100100111011110101110111110111001110100111101110110111100111101101101111110110101011011111111011111110111000110010000010111011100111101111101111111010001010110100100000110101000001011101011001111110011101111010011101101111010101110011101111110...
result:
ok ok the answer is correct (16 test cases)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
3 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0
output:
1 ^ 0 1 | 0 0 & 0
result:
ok ok the answer is correct (3 test cases)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
12 2 0 0 2 0 0 2 0 1 1 0 0 2 0 2 0 0 0 2 1 0 1 0 0 2 1 1 0 0 0 2 2 0 0 0 0 2 0 0 2 0 1 2 0 1 1 0 1 2 0 2 0 0 1 2 1 0 1 0 1 2 1 1 0 0 1 2 2 0 0 0 1
output:
00 ^^ 0 0 01 ^| 0 0 01 || 0 0 01 &^ 0 0 01 &| 0 0 00 && 0 0 11 ^^ 0 1 11 ^| 0 1 11 || 0 1 10 &^ 0 1 10 &| 0 1 00 && 1 0
result:
ok ok the answer is correct (12 test cases)
Test #5:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
40 3 0 0 3 0 0 0 3 0 1 2 0 0 0 3 0 2 1 0 0 0 3 0 3 0 0 0 0 3 1 0 2 0 0 0 3 1 1 1 0 0 0 3 1 2 0 0 0 0 3 2 0 1 0 0 0 3 2 1 0 0 0 0 3 3 0 0 0 0 0 3 0 0 3 0 1 1 3 0 1 2 0 1 1 3 0 2 1 0 1 1 3 0 3 0 0 1 1 3 1 0 2 0 1 1 3 1 1 1 0 1 1 3 1 2 0 0 1 1 3 2 0 1 0 1 1 3 2 1 0 0 1 1 3 3 0 0 0 1 1 3 0 0 3 0 0 1 3 0...
output:
001 ^^^ 0 0 0 001 ^^| 0 0 0 001 ^|| 0 0 0 001 ||| 0 0 0 000 &^^ 0 0 0 001 ^&| 0 0 0 001 |&| 0 0 0 001 &&^ 0 0 0 001 &&| 0 0 0 000 &&& 0 0 0 001 ^^^ 1 1 0 011 ^^| 0 1 1 011 ^|| 1 0 1 011 ||| 1 0 1 011 &^^ 1 0 1 011 &^| 1 0 1 011 &|| 1 0 1 010 &&^ 1 0 1 010 &&| 1 0 1 000 &&& 1 1 0 ...
result:
ok ok the answer is correct (40 test cases)
Test #6:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
120 4 0 0 4 0 0 0 0 4 0 1 3 0 0 0 0 4 0 2 2 0 0 0 0 4 0 3 1 0 0 0 0 4 0 4 0 0 0 0 0 4 1 0 3 0 0 0 0 4 1 1 2 0 0 0 0 4 1 2 1 0 0 0 0 4 1 3 0 0 0 0 0 4 2 0 2 0 0 0 0 4 2 1 1 0 0 0 0 4 2 2 0 0 0 0 0 4 3 0 1 0 0 0 0 4 3 1 0 0 0 0 0 4 4 0 0 0 0 0 0 4 0 0 4 1 1 0 1 4 0 1 3 1 1 0 1 4 0 2 2 1 1 0 1 4 0 3 1 ...
output:
0000 ^^^^ 0 0 0 0 0001 ^^^| 0 0 0 0 0001 ^^|| 0 0 0 0 0001 ^||| 0 0 0 0 0001 |||| 0 0 0 0 0001 ^^&^ 0 0 0 0 0001 ^^&| 0 0 0 0 0001 ^|&| 0 0 0 0 0001 ||&| 0 0 0 0 0000 &&^^ 0 0 0 0 0001 ^&&| 0 0 0 0 0001 |&&| 0 0 0 0 0001 &&&^ 0 0 0 0 0001 &&&| 0 0 0 0 0000 &&&& 0 0 0 0 0011 ^^^^ 1 1 1...
result:
ok ok the answer is correct (120 test cases)
Test #7:
score: 0
Accepted
time: 1ms
memory: 3904kb
input:
336 5 0 0 5 0 0 0 0 0 5 0 1 4 0 0 0 0 0 5 0 2 3 0 0 0 0 0 5 0 3 2 0 0 0 0 0 5 0 4 1 0 0 0 0 0 5 0 5 0 0 0 0 0 0 5 1 0 4 0 0 0 0 0 5 1 1 3 0 0 0 0 0 5 1 2 2 0 0 0 0 0 5 1 3 1 0 0 0 0 0 5 1 4 0 0 0 0 0 0 5 2 0 3 0 0 0 0 0 5 2 1 2 0 0 0 0 0 5 2 2 1 0 0 0 0 0 5 2 3 0 0 0 0 0 0 5 3 0 2 0 0 0 0 0 5 3 1 1 ...
output:
00001 ^^^^^ 0 0 0 0 0 00001 ^^^^| 0 0 0 0 0 00001 ^^^|| 0 0 0 0 0 00001 ^^||| 0 0 0 0 0 00001 ^|||| 0 0 0 0 0 00001 ||||| 0 0 0 0 0 00000 &^^^^ 0 0 0 0 0 00001 ^^^&| 0 0 0 0 0 00001 ^^|&| 0 0 0 0 0 00001 ^||&| 0 0 0 0 0 00001 |||&| 0 0 0 0 0 00001 &&^^^ 0 0 0 0 0 00001 ^^&&| 0 0 0 0 0 0...
result:
ok ok the answer is correct (336 test cases)
Test #8:
score: 0
Accepted
time: 1ms
memory: 4072kb
input:
896 6 0 0 6 0 0 0 0 0 0 6 0 1 5 0 0 0 0 0 0 6 0 2 4 0 0 0 0 0 0 6 0 3 3 0 0 0 0 0 0 6 0 4 2 0 0 0 0 0 0 6 0 5 1 0 0 0 0 0 0 6 0 6 0 0 0 0 0 0 0 6 1 0 5 0 0 0 0 0 0 6 1 1 4 0 0 0 0 0 0 6 1 2 3 0 0 0 0 0 0 6 1 3 2 0 0 0 0 0 0 6 1 4 1 0 0 0 0 0 0 6 1 5 0 0 0 0 0 0 0 6 2 0 4 0 0 0 0 0 0 6 2 1 3 0 0 0 0 ...
output:
000000 ^^^^^^ 0 0 0 0 0 0 000001 ^^^^^| 0 0 0 0 0 0 000001 ^^^^|| 0 0 0 0 0 0 000001 ^^^||| 0 0 0 0 0 0 000001 ^^|||| 0 0 0 0 0 0 000001 ^||||| 0 0 0 0 0 0 000001 |||||| 0 0 0 0 0 0 000001 ^^^^&^ 0 0 0 0 0 0 000001 ^^^^&| 0 0 0 0 0 0 000001 ^^^|&| 0 0 0 0 0 0 000001 ^^||&| 0 0 0 0 0 0 000...
result:
ok ok the answer is correct (896 test cases)
Test #9:
score: 0
Accepted
time: 3ms
memory: 3784kb
input:
2304 7 0 0 7 0 0 0 0 0 0 0 7 0 1 6 0 0 0 0 0 0 0 7 0 2 5 0 0 0 0 0 0 0 7 0 3 4 0 0 0 0 0 0 0 7 0 4 3 0 0 0 0 0 0 0 7 0 5 2 0 0 0 0 0 0 0 7 0 6 1 0 0 0 0 0 0 0 7 0 7 0 0 0 0 0 0 0 0 7 1 0 6 0 0 0 0 0 0 0 7 1 1 5 0 0 0 0 0 0 0 7 1 2 4 0 0 0 0 0 0 0 7 1 3 3 0 0 0 0 0 0 0 7 1 4 2 0 0 0 0 0 0 0 7 1 5 1 0...
output:
0000001 ^^^^^^^ 0 0 0 0 0 0 0 0000001 ^^^^^^| 0 0 0 0 0 0 0 0000001 ^^^^^|| 0 0 0 0 0 0 0 0000001 ^^^^||| 0 0 0 0 0 0 0 0000001 ^^^|||| 0 0 0 0 0 0 0 0000001 ^^||||| 0 0 0 0 0 0 0 0000001 ^|||||| 0 0 0 0 0 0 0 0000001 ||||||| 0 0 0 0 0 0 0 0000000 &^^^^^^ 0 0 0 0 0 0 0 0000001 ^^^^^&| 0 0 0...
result:
ok ok the answer is correct (2304 test cases)
Test #10:
score: 0
Accepted
time: 4ms
memory: 3772kb
input:
5760 8 0 0 8 0 0 0 0 0 0 0 0 8 0 1 7 0 0 0 0 0 0 0 0 8 0 2 6 0 0 0 0 0 0 0 0 8 0 3 5 0 0 0 0 0 0 0 0 8 0 4 4 0 0 0 0 0 0 0 0 8 0 5 3 0 0 0 0 0 0 0 0 8 0 6 2 0 0 0 0 0 0 0 0 8 0 7 1 0 0 0 0 0 0 0 0 8 0 8 0 0 0 0 0 0 0 0 0 8 1 0 7 0 0 0 0 0 0 0 0 8 1 1 6 0 0 0 0 0 0 0 0 8 1 2 5 0 0 0 0 0 0 0 0 8 1 3 4...
output:
00000000 ^^^^^^^^ 0 0 0 0 0 0 0 0 00000001 ^^^^^^^| 0 0 0 0 0 0 0 0 00000001 ^^^^^^|| 0 0 0 0 0 0 0 0 00000001 ^^^^^||| 0 0 0 0 0 0 0 0 00000001 ^^^^|||| 0 0 0 0 0 0 0 0 00000001 ^^^||||| 0 0 0 0 0 0 0 0 00000001 ^^|||||| 0 0 0 0 0 0 0 0 00000001 ^||||||| 0 0 0 0 0 0 0 0 00000001 |||||||| 0 ...
result:
ok ok the answer is correct (5760 test cases)
Test #11:
score: 0
Accepted
time: 21ms
memory: 4064kb
input:
14080 9 0 0 9 0 0 0 0 0 0 0 0 0 9 0 1 8 0 0 0 0 0 0 0 0 0 9 0 2 7 0 0 0 0 0 0 0 0 0 9 0 3 6 0 0 0 0 0 0 0 0 0 9 0 4 5 0 0 0 0 0 0 0 0 0 9 0 5 4 0 0 0 0 0 0 0 0 0 9 0 6 3 0 0 0 0 0 0 0 0 0 9 0 7 2 0 0 0 0 0 0 0 0 0 9 0 8 1 0 0 0 0 0 0 0 0 0 9 0 9 0 0 0 0 0 0 0 0 0 0 9 1 0 8 0 0 0 0 0 0 0 0 0 9 1 1 7 ...
output:
000000001 ^^^^^^^^^ 0 0 0 0 0 0 0 0 0 000000001 ^^^^^^^^| 0 0 0 0 0 0 0 0 0 000000001 ^^^^^^^|| 0 0 0 0 0 0 0 0 0 000000001 ^^^^^^||| 0 0 0 0 0 0 0 0 0 000000001 ^^^^^|||| 0 0 0 0 0 0 0 0 0 000000001 ^^^^||||| 0 0 0 0 0 0 0 0 0 000000001 ^^^|||||| 0 0 0 0 0 0 0 0 0 000000001 ^^||||||| 0 0 0 0...
result:
ok ok the answer is correct (14080 test cases)
Test #12:
score: 0
Accepted
time: 54ms
memory: 4040kb
input:
33792 10 0 0 10 0 0 0 0 0 0 0 0 0 0 10 0 1 9 0 0 0 0 0 0 0 0 0 0 10 0 2 8 0 0 0 0 0 0 0 0 0 0 10 0 3 7 0 0 0 0 0 0 0 0 0 0 10 0 4 6 0 0 0 0 0 0 0 0 0 0 10 0 5 5 0 0 0 0 0 0 0 0 0 0 10 0 6 4 0 0 0 0 0 0 0 0 0 0 10 0 7 3 0 0 0 0 0 0 0 0 0 0 10 0 8 2 0 0 0 0 0 0 0 0 0 0 10 0 9 1 0 0 0 0 0 0 0 0 0 0 10 ...
output:
0000000000 ^^^^^^^^^^ 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^^^^^^| 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^^^^^|| 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^^^^||| 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^^^|||| 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^^||||| 0 0 0 0 0 0 0 0 0 0 0000000001 ^^^^|||||| 0 0 0 0 0 0 0 0 0 0 ...
result:
ok ok the answer is correct (33792 test cases)
Test #13:
score: 0
Accepted
time: 173ms
memory: 4152kb
input:
65536 16 3 8 5 8 10 13 14 9 12 5 4 13 5 3 14 2 2 5 11 16 4 5 7 2 10 10 4 15 2 14 5 11 12 4 12 5 4 12 11 16 2 0 14 15 3 6 8 5 12 2 2 13 1 4 8 9 1 1 9 16 13 1 2 1 12 9 3 15 10 6 8 13 15 7 12 13 12 3 2 16 2 2 12 3 3 11 10 6 8 6 1 14 2 11 12 2 3 5 2 16 6 3 7 14 12 6 11 7 6 8 13 4 2 4 10 14 4 7 10 16 8 7...
output:
0111111100111100 ^^&&&^^^|||||||| 13 5 5 2 14 13 12 11 10 9 8 5 4 3 2 14 1101110000110100 ^^^^&&&&^^^||||| 12 11 10 5 4 4 2 12 15 14 11 10 5 4 2 12 1011001101111110 ^^^&&^^^^^^^^^^^ 9 8 1 2 1 15 13 12 9 8 6 5 4 3 2 1 1011000000000000 &&&&&&&&&&&&&^^| 15 13 12 12 10 9 8 7 6 3 3 2 1 12 13 15 01011...
result:
ok ok the answer is correct (65536 test cases)
Test #14:
score: 0
Accepted
time: 172ms
memory: 3776kb
input:
65536 16 6 2 8 2 0 3 7 9 0 1 10 5 5 13 15 5 15 0 1 16 3 1 12 6 12 0 3 0 3 11 1 3 10 14 11 8 12 9 3 16 6 8 2 4 2 11 10 10 2 15 14 8 5 14 10 3 13 7 14 16 11 1 4 8 9 8 0 7 3 13 6 12 4 0 7 4 10 7 13 16 0 14 2 14 1 4 1 3 4 8 1 9 10 10 4 6 10 10 13 16 0 10 6 13 1 3 10 11 9 6 13 1 4 2 1 0 2 2 1 16 0 15 1 5...
output:
1010011010101111 &&&&&&^^^^^^^^|| 15 5 5 1 0 0 0 1 2 3 5 7 9 10 13 15 0101111101001011 ^^^&&&^^^^^^^^^| 11 3 3 3 0 12 14 11 10 9 8 6 3 1 0 12 1110110110111000 &&&&&&^^|||||||| 14 14 10 10 2 2 3 4 5 7 8 10 11 13 14 15 0011011100000000 &&&&&&&&&&&^^^^| 13 8 7 7 7 6 4 4 3 0 0 8 9 10 12 13 011001110...
result:
ok ok the answer is correct (65536 test cases)
Test #15:
score: 0
Accepted
time: 178ms
memory: 3812kb
input:
65536 16 0 10 6 12 5 9 0 8 4 12 0 12 5 7 1 8 12 10 7 16 4 12 0 11 14 5 3 1 3 9 14 12 8 8 9 11 4 6 11 16 2 7 7 10 0 15 13 15 9 11 9 4 9 8 13 12 9 12 2 16 9 0 7 15 6 7 12 14 12 4 3 11 9 9 3 11 8 12 7 16 6 1 9 10 15 12 8 0 0 11 1 3 2 9 12 9 0 0 8 16 10 1 5 13 6 0 8 0 12 4 13 15 6 15 8 2 0 13 8 16 3 10 ...
output:
0001011110110011 ^^^^^^|||||||||| 12 12 12 8 7 5 0 0 1 4 5 7 8 9 10 12 0101101101111010 ||&&&&|||||||||| 14 11 11 9 8 3 1 3 4 5 6 8 9 11 12 14 1011111100010101 ^^^^&&^^^||||||| 13 12 9 9 9 15 13 12 11 10 9 8 4 2 0 15 1101101110000000 &&&&&&&&&^^^^^^^ 12 12 11 9 7 6 4 3 3 7 8 9 11 12 14 15 100111...
result:
ok ok the answer is correct (65536 test cases)
Test #16:
score: 0
Accepted
time: 172ms
memory: 3844kb
input:
65536 16 14 1 1 5 11 14 9 7 8 8 7 4 4 1 2 11 9 5 13 16 3 2 11 15 0 10 2 2 3 6 11 4 7 2 8 14 13 3 3 16 10 5 1 0 15 4 15 4 15 8 5 0 13 2 0 6 5 1 6 16 8 0 8 5 3 6 8 5 5 11 1 10 15 2 15 2 6 1 1 16 5 11 0 5 14 4 15 13 12 13 1 13 10 8 4 13 7 6 2 16 11 2 3 12 11 14 6 4 0 2 13 12 8 12 15 5 14 7 15 16 3 2 11...
output:
0110000000000000 &&&&&&&&&&&&&&^| 11 11 9 9 8 8 7 7 5 5 4 4 2 1 13 14 1110110111011101 ^&&&^^^^^^^^^^|| 3 2 2 3 15 14 13 11 10 8 7 6 4 2 0 3 1010000101110000 &&&&&&&&&&^||||| 15 15 6 5 4 2 1 0 0 0 4 5 6 8 13 15 1000110101101100 &&&&&&&&^^^^^^^^ 15 6 5 5 2 1 1 1 2 3 5 6 8 10 11 15 111101011111010...
result:
ok ok the answer is correct (65536 test cases)
Test #17:
score: 0
Accepted
time: 165ms
memory: 3812kb
input:
65536 16 1 12 3 15 1 4 2 7 12 3 13 12 4 12 3 14 6 15 4 16 5 10 1 4 1 0 1 3 3 3 8 12 5 12 6 1 5 0 11 16 5 6 5 5 14 9 2 9 6 5 0 11 1 12 2 0 0 6 11 16 6 0 10 12 0 5 4 13 14 2 15 9 4 11 10 9 4 6 12 16 4 6 6 0 12 12 6 10 8 0 1 8 2 7 12 1 13 11 13 16 6 5 5 11 0 11 4 8 3 0 14 9 10 9 6 7 12 2 6 16 1 1 14 12...
output:
1111000011011110 ^^^||&|||||||||| 15 12 12 4 4 3 1 2 3 4 6 7 12 13 14 15 0001100101111011 ^|&&&&&||||||||| 12 5 3 3 1 1 0 0 1 3 4 5 6 8 11 12 0101101001100111 ^^&&&&&^^^|||||| 9 6 5 2 0 0 11 14 12 9 6 5 2 1 0 11 1111111001110000 &&&&&&^^^^^^^^^^ 12 9 4 4 2 0 4 5 6 9 10 11 12 13 14 15 00111101110...
result:
ok ok the answer is correct (65536 test cases)
Test #18:
score: 0
Accepted
time: 193ms
memory: 8148kb
input:
16 65520 0 6751 58769 43480 1888 62720 21082 31430 29524 22536 3383 46139 33023 28234 48123 51351 56294 43079 15732 49200 5905 42850 1370 3749 60670 24952 5733 14544 61556 7851 14853 51471 18062 43441 781 9353 40875 55106 42172 51742 23428 32947 53592 26597 43745 34492 2837 59797 22921 55912 1072 57...
output:
101000001011000111010110111010111011110111010011101100010101011001111010110100110101101101111001100011111001101111000110101111111010001101111000001111110110110001110101101010011111001001101101101011101010110110001011010110101000110111111101111010000001111011101111110110011111110011100010101110011111...
result:
ok ok the answer is correct (16 test cases)
Test #19:
score: 0
Accepted
time: 200ms
memory: 8416kb
input:
16 65528 1 1 65526 2118 7289 14627 62109 2001 25915 36313 58067 17825 23775 8479 62169 30810 4240 46927 10308 25924 7076 62131 24116 51951 65272 54431 13867 35431 33756 35215 42165 49686 19717 26301 17431 18671 13821 38170 17575 29633 59607 6231 28629 37301 26802 40650 43099 6959 34139 64105 41557 1...
output:
010110011110110110111101101011110111111001001011101001100101111011011110111110101000010111001111111111000111111111110011011111101110101111111110001111110100100100111110101100001010111111011001111110111101111000111111101110100010111100101100110011011100001101111011101111110011110100101010011111010011...
result:
ok ok the answer is correct (16 test cases)
Test #20:
score: 0
Accepted
time: 203ms
memory: 8212kb
input:
16 65514 1 0 65513 37428 31502 64622 39894 3203 48386 3336 35126 55206 15129 65316 46648 8425 40771 47552 42979 41619 21384 35079 56830 47895 61333 48552 53708 35032 45422 31555 58163 19041 46435 41096 19443 3863 63846 5864 65094 24647 48114 44084 17984 60680 2843 49943 4889 63070 27777 35249 14332 ...
output:
010011111110111101001010110101110001011011011100100111100110111000010011011101111111011111110101101111011111011100111111110000101111110110010000001111010101011111110111111111101011001011000110111111110001110010111111111101111001101111011100101010111011101111100111010011001001101000111011110100011100...
result:
ok ok the answer is correct (16 test cases)
Test #21:
score: 0
Accepted
time: 209ms
memory: 8216kb
input:
16 65522 2 0 65520 46149 56944 35632 5001 64090 21231 37083 29772 53754 46341 361 42022 57496 62257 50349 12702 22047 51356 58774 14065 55242 20212 12530 47369 15293 12386 28496 40083 28215 56647 21233 30468 48111 26462 13702 52011 12965 43748 37047 58016 44345 56816 20285 55099 26829 5143 23543 549...
output:
101110001101010111100110111000101111010101111011000110110101001101101011111110101100010110101010110011001100101111001111110111011101010101011011100111011011111110011010001100111111110111111001011110111111111010111011000100111111100010101111110101110011001111001101011011101100011101111001111111000100...
result:
ok ok the answer is correct (16 test cases)
Test #22:
score: 0
Accepted
time: 194ms
memory: 8440kb
input:
16 65500 6792 1 58707 57786 40010 13723 6144 58671 62736 47183 58728 3824 11467 30674 25348 33140 13332 9625 15103 14420 29586 7791 41676 2912 38714 6364 27763 21518 48751 10572 26751 45346 2063 56214 21089 26005 64975 61062 61263 10580 61395 8423 57703 53588 43500 16189 2489 27903 1470 34247 43882 ...
output:
110010111010100110110110011001111011101111101000000011000111001100111110010110111010010001011101111011101011110001111000111011010010100110111101011110110100101011000001101011101010100010111101111111101111111010111111010111000011100011110011111101100011100111010111010010111000111000101111110010111101...
result:
ok ok the answer is correct (16 test cases)
Test #23:
score: 0
Accepted
time: 200ms
memory: 8156kb
input:
16 65508 0 1 65507 64921 50977 47581 23617 44975 39513 63155 44929 44323 19453 3298 27800 15161 30469 34912 32112 26802 59677 39651 58934 59486 1673 18871 35764 40593 38495 55458 5569 9703 9991 50599 21959 19055 40090 8020 3012 33998 1253 2013 30038 2385 53390 37602 52642 34295 887 23788 61394 37002...
output:
110001110001101101101110111000111011100101010000110100000010110001000011110010010010100100110100000011010101001010100000010100100011110100101001011011010100110100000011010001000000100001000111010010011100010001001001111101001000010010011110100100010010100110111000100011000010001000001111010011010000...
result:
ok ok the answer is correct (16 test cases)
Test #24:
score: 0
Accepted
time: 201ms
memory: 8248kb
input:
16 65530 0 13581 51949 45444 11655 15580 16008 21610 6190 15492 53743 61340 39741 65144 54158 4744 31543 14106 61215 64341 34327 55607 25241 51154 32524 50631 31802 28735 46764 28573 34898 1862 37171 33749 21862 30348 65367 8693 49714 59936 57004 30531 36307 47811 24532 23772 36099 34370 13213 5136 ...
output:
110100111111111001101100001100010001010110111101101011011111001001011101111011101011100001111011011111111101111011110001101111100111101100110110101100110111110011110000101111111110100100110111100111001110011111011111111101010011111111001111100110110111000101011001011000001111111010110111110011111100...
result:
ok ok the answer is correct (16 test cases)
Test #25:
score: 0
Accepted
time: 199ms
memory: 8416kb
input:
16 65501 1 1 65499 41712 26575 47442 45242 7730 31926 6482 21075 50964 40949 60921 63855 58305 59875 62508 5455 45479 16759 13671 62738 44273 43310 20453 26637 35308 6537 21487 55450 6052 21005 19375 48371 6406 46419 45138 60802 6937 17059 12359 6116 13700 16829 29587 17230 741 62708 37299 29626 331...
output:
101111111111000111111011111111111010010110111101001011011100110110111010110101110010111110101111110100010011001001011110010011100111001110111101111110111001101111001101111110111110110010111101001111011010001010110110110101101001111111001001110011111011101101011010011011110011100010011000111101011001...
result:
ok ok the answer is correct (16 test cases)
Test #26:
score: 0
Accepted
time: 197ms
memory: 8096kb
input:
16 65516 1 0 65515 34083 12757 30612 4383 12639 59344 21026 15821 53133 38398 34836 8678 56322 53375 53397 38212 25326 61273 58880 37662 39044 19468 1486 49331 36335 54723 44360 26236 32523 32171 52596 34123 25564 28902 52840 52296 14167 56481 58503 57358 32972 44317 6678 2015 13899 7777 55040 20206...
output:
011101111011010111111111100100111101010000101111011100111001001101111110110101011101101111100101111100101101011000111011101111101011101111010001101001111001101101111101000111001000111100100100110111100011111110110101011111101010110101111011010111101000110111101111000111101110110100110110000111010110...
result:
ok ok the answer is correct (16 test cases)
Test #27:
score: 0
Accepted
time: 196ms
memory: 8220kb
input:
16 65532 2 0 65530 7923 61967 26383 48389 32766 64717 38536 17122 39728 5508 40237 46012 39067 3930 14457 3557 56438 31904 52881 4605 24947 27689 5923 28552 24030 35788 47384 55857 21388 7807 21878 41481 33381 19295 4633 9937 21468 21009 15302 36614 30422 25109 57445 34738 19742 63689 34055 64001 84...
output:
010100111110110011111110010100011001001011011000100010110101110111111110011110111110101111100011110100110100111111000100001111101110011101011101111100110110000110001100011001011111111101001011010011010001011111011111001111011110010111100001101011111111001110101110111110011110111111110010011010001110...
result:
ok ok the answer is correct (16 test cases)
Test #28:
score: 0
Accepted
time: 195ms
memory: 8168kb
input:
16 65517 37924 1 27592 22863 33674 56512 2333 5829 1563 59838 2747 2624 25146 37915 6646 35688 10685 51145 64106 3837 56174 54719 29727 36562 14524 56032 64243 48228 2479 64141 23651 942 64018 46481 43327 53498 26059 8655 39755 59222 2940 43135 58177 26790 58020 43486 43370 36002 53757 23577 10373 5...
output:
011001110100010111101010110111110011110111100111101101111001111110100111111101111100011111101101101111000111001101011010000101001011011011110110111110111010100000001110111010101111111010011111110100010010001111000011001010110100100111011011101011111000111101110011110010110111101000011100111101111111...
result:
ok ok the answer is correct (16 test cases)
Test #29:
score: 0
Accepted
time: 202ms
memory: 8192kb
input:
16 65525 0 1 65524 25606 31608 16256 61911 47245 13671 34837 52708 29509 554 59623 24560 4500 55446 60980 6636 22831 9568 40122 61259 8401 13964 54161 57435 51160 56572 54265 37527 45157 49812 59171 14633 11308 7930 37080 25212 13640 43842 32423 442 62403 1094 34615 34154 31532 43786 64696 4351 6441...
output:
101000100100000101000010110001011111010110000101111000100000001010110100010101001100100100110100100100001001101010000000000110100100110100000110100011100110111010001110101000101100001001011010010101000100100110101011001100011001010000000110111111010101101010011000001100100000100101000011101000110001...
result:
ok ok the answer is correct (16 test cases)
Test #30:
score: 0
Accepted
time: 200ms
memory: 8448kb
input:
16 65503 0 60624 4879 49968 2684 16723 50274 11530 34668 63864 23098 22661 25479 42456 17537 3211 64489 5776 21407 11095 16925 40099 19272 26964 43717 46769 63803 40138 37063 39719 56466 24337 59783 41541 61857 55930 58964 33662 44598 38646 27568 46061 20551 40279 20716 9276 62095 47212 30390 44816 ...
output:
111100101000101111110111010101011110101111110011101111101101101011011011101110110011110100110110101101110111101100101111111110110010111010010111100010111110011111100011010111111110111010111101011001100101111111101111011111111001011001011110001100101111011001001011010011101000011111111110110011011101...
result:
ok ok the answer is correct (16 test cases)