QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#481236 | #9118. Flip or Not | ucup-team3811 | TL | 1747ms | 10076kb | C++23 | 5.4kb | 2024-07-16 21:57:46 | 2024-07-16 21:57: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: 3ms
memory: 10072kb
input:
5 00001 00111 3 1 2 3 2 3 5
output:
4 1001
result:
ok output is valid
Test #2:
score: 0
Accepted
time: 1741ms
memory: 9836kb
input:
4 0110 1000 2 1 2 4 1 2 3 4
output:
-1
result:
ok output is valid
Test #3:
score: 0
Accepted
time: 3ms
memory: 9836kb
input:
1 0 1 1 1 1 1
output:
1 1
result:
ok output is valid
Test #4:
score: 0
Accepted
time: 0ms
memory: 9776kb
input:
8 11110000 10101011 6 2 3 5 6 7 8 3 4 7 8
output:
5 01110
result:
ok output is valid
Test #5:
score: 0
Accepted
time: 1747ms
memory: 9900kb
input:
8 00010010 11000111 3 1 4 5 4 2 4 6 8
output:
-1
result:
ok output is valid
Test #6:
score: 0
Accepted
time: 1746ms
memory: 10036kb
input:
8 00000111 10110100 6 3 4 5 6 7 8 4 1 3 7 8
output:
-1
result:
ok output is valid
Test #7:
score: 0
Accepted
time: 0ms
memory: 9844kb
input:
8 00101100 11100111 3 1 2 6 6 1 3 4 5 7 8
output:
8 10100111
result:
ok output is valid
Test #8:
score: 0
Accepted
time: 3ms
memory: 9776kb
input:
9 111001001 100001000 7 1 3 4 5 6 7 8 4 1 3 7 9
output:
2 01
result:
ok output is valid
Test #9:
score: 0
Accepted
time: 0ms
memory: 10004kb
input:
8 01100110 00000101 3 4 5 7 5 2 3 6 7 8
output:
13 0000000000000
result:
ok output is valid
Test #10:
score: 0
Accepted
time: 1747ms
memory: 10076kb
input:
10 1001011001 0101100100 4 4 5 7 9 4 4 5 7 10
output:
-1
result:
ok output is valid
Test #11:
score: 0
Accepted
time: 0ms
memory: 10004kb
input:
7 1000010 1010101 4 3 4 5 6 4 1 2 4 5
output:
5 00110
result:
ok output is valid
Test #12:
score: 0
Accepted
time: 0ms
memory: 9788kb
input:
6 101011 101000 1 6 4 2 3 4 6
output:
2 11
result:
ok output is valid
Test #13:
score: 0
Accepted
time: 1714ms
memory: 10072kb
input:
3 000 110 2 2 3 2 1 3
output:
-1
result:
ok output is valid
Test #14:
score: 0
Accepted
time: 0ms
memory: 9776kb
input:
19 1100010001111111100 0001101011001010110 10 2 3 4 5 6 7 9 14 15 19 10 3 5 6 8 10 11 12 17 18 19
output:
15 011001011010111
result:
ok output is valid
Test #15:
score: 0
Accepted
time: 0ms
memory: 10036kb
input:
7 0111111 0101011 6 2 3 4 5 6 7 4 1 3 5 7
output:
7 0000001
result:
ok output is valid
Test #16:
score: 0
Accepted
time: 0ms
memory: 9836kb
input:
17 10010100010100010 10101101101001101 8 3 5 8 9 12 14 15 17 8 1 3 5 8 10 12 14 15
output:
15 000001111100100
result:
ok output is valid
Test #17:
score: 0
Accepted
time: 0ms
memory: 9788kb
input:
13 1101000011011 1010001110110 4 3 5 6 13 8 2 3 4 7 8 10 11 13
output:
146 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010
result:
ok output is valid
Test #18:
score: 0
Accepted
time: 0ms
memory: 9840kb
input:
15 101011111011111 110110110101110 8 3 6 8 9 11 12 13 15 10 1 4 5 6 7 11 12 13 14 15
output:
13 0000010101111
result:
ok output is valid
Test #19:
score: 0
Accepted
time: 2ms
memory: 9784kb
input:
18 000000100100001110 011101100101001001 6 5 6 7 8 10 15 12 1 2 4 5 7 9 10 13 14 15 16 17
output:
13 1011100001110
result:
ok output is valid
Test #20:
score: 0
Accepted
time: 0ms
memory: 9844kb
input:
14 10111010011001 01010010010001 5 4 7 11 12 14 7 3 7 8 9 11 12 14
output:
485 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok output is valid
Test #21:
score: 0
Accepted
time: 0ms
memory: 9792kb
input:
11 00011011101 00100111111 3 2 4 10 7 3 4 5 7 8 10 11
output:
11 00001001101
result:
ok output is valid
Test #22:
score: 0
Accepted
time: 0ms
memory: 9840kb
input:
8 00101000 01010101 4 2 6 7 8 4 1 3 4 6
output:
7 0010110
result:
ok output is valid
Test #23:
score: 0
Accepted
time: 0ms
memory: 9784kb
input:
15 100101100001100 001111110110000 10 2 4 5 6 7 8 9 12 14 15 6 3 6 9 10 13 14
output:
12 111010011101
result:
ok output is valid
Test #24:
score: -100
Time Limit Exceeded
input:
1910 0100011011011000010100001001000111111011010010111110101110001001010100001011001110011000000100011000111011010100011000101111100110011110001111000011100110001011010101011001010001001001011001110100101100010110111100110101110101101010110011100101101000001111100000000011110011100110101000101011000...