QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#525607 | #5120. Power of Two | ucup-team2880 | WA | 189ms | 8376kb | C++20 | 5.2kb | 2024-08-20 19:15:40 | 2024-08-20 19:15:41 |
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: 3748kb
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: 189ms
memory: 8376kb
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: 3772kb
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: 3836kb
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: 3748kb
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: 3748kb
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: -100
Wrong Answer
time: 1ms
memory: 3704kb
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:
wrong answer d should be a permutation of b (test case 33)