QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#101570 | #6380. LaLa and Divination Magic | smax | WA | 2ms | 3520kb | C++23 | 8.9kb | 2023-04-30 12:06:02 | 2023-04-30 12:06:04 |
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: 3388kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #2:
score: 0
Accepted
time: 1ms
memory: 3444kb
input:
3 3 101 011 111
output:
12 0 0 2 0 0 3 0 1 4 2 2 4 1 0 4 1 1 2 1 1 3 2 2 4 2 2 4 2 2 4 2 2 4 2 2 4
result:
ok Kout = 12, Kans = 6
Test #3:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
2 1 0 1
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #4:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
2 1 0 1
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #5:
score: 0
Accepted
time: 0ms
memory: 3380kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #6:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
2 1 0 1
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #7:
score: 0
Accepted
time: 2ms
memory: 3492kb
input:
2 1 0 1
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #8:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #9:
score: 0
Accepted
time: 2ms
memory: 3484kb
input:
1 1 1
output:
2 0 0 4 0 0 4
result:
ok Kout = 2, Kans = 1
Test #10:
score: 0
Accepted
time: 1ms
memory: 3440kb
input:
1 1 0
output:
2 0 0 1 0 0 1
result:
ok Kout = 2, Kans = 1
Test #11:
score: 0
Accepted
time: 1ms
memory: 3440kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3388kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #13:
score: 0
Accepted
time: 1ms
memory: 3388kb
input:
2 4 0111 0010
output:
24 0 0 1 0 0 1 0 0 1 0 0 1 2 2 4 0 0 1 0 0 1 1 1 2 1 1 3 2 2 4 1 3 2 1 3 3 2 2 4 0 0 1 2 2 4 2 2 4 2 2 4 2 2 4 0 0 1 3 1 2 3 1 3 2 2 4 3 3 2 3 3 3
result:
ok Kout = 24, Kans = 15
Test #14:
score: 0
Accepted
time: 2ms
memory: 3432kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #15:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
4 2 10 11 01 00
output:
4 0 0 2 0 0 3 1 1 2 1 1 3
result:
ok Kout = 4, Kans = 0
Test #16:
score: 0
Accepted
time: 0ms
memory: 3444kb
input:
2 1 1 0
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #17:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
2 4 0010 1000
output:
24 0 0 2 0 0 3 1 1 1 0 2 1 0 2 4 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 1 2 0 1 2 0 4 1 1 1 2 2 2 2 2 3 3 3 1 3 3 1 3 3 1 1 1 1 3 3 1 3 3 1 3 3 1
result:
ok Kout = 24, Kans = 15
Test #18:
score: 0
Accepted
time: 2ms
memory: 3428kb
input:
2 5 11101 00000
output:
42 0 0 2 0 0 3 0 1 2 0 1 3 0 2 2 0 2 3 3 3 1 0 4 2 0 4 3 1 0 2 1 0 3 1 1 2 1 1 3 1 2 2 1 2 3 3 3 1 1 4 2 1 4 3 2 0 2 2 0 3 2 1 2 2 1 3 2 2 2 2 2 3 3 3 1 2 4 2 2 4 3 3 3 1 3 3 1 3 3 1 3 3 1 3 3 1 3 3 1 4 0 2 4 0 3 4 1 2 4 1 3 4 2 2 4 2 3 3 3 1 4 4 2 4 4 3
result:
ok Kout = 42, Kans = 21
Test #19:
score: 0
Accepted
time: 2ms
memory: 3436kb
input:
5 4 0010 1001 0011 0101 1011
output:
-1
result:
ok Kout = -1, Kans = -1
Test #20:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
3 2 01 00 10
output:
6 0 0 2 0 0 3 0 1 1 1 0 1 1 1 2 1 1 3
result:
ok Kout = 6, Kans = 1
Test #21:
score: 0
Accepted
time: 2ms
memory: 3384kb
input:
3 2 10 11 00
output:
6 0 0 2 0 0 3 0 1 2 1 0 3 1 1 2 1 1 3
result:
ok Kout = 6, Kans = 1
Test #22:
score: 0
Accepted
time: 2ms
memory: 3444kb
input:
2 1 0 1
output:
2 0 0 2 0 0 3
result:
ok Kout = 2, Kans = 0
Test #23:
score: 0
Accepted
time: 2ms
memory: 3520kb
input:
3 27 111010110011101010011110110 010001110100000110100101101 000011111000000010011111001
output:
-1
result:
ok Kout = -1, Kans = -1
Test #24:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
3 7 1000100 0001100 0101111
output:
66 0 0 2 0 0 3 0 1 1 2 2 1 0 3 1 0 3 4 4 4 4 0 5 1 0 6 1 1 0 1 1 1 2 1 1 3 2 2 1 1 3 3 4 4 4 1 5 2 1 5 3 1 6 2 1 6 3 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 4 4 4 2 2 1 2 2 1 3 0 1 3 0 4 3 1 2 2 2 1 3 3 2 3 3 3 4 4 4 3 5 2 3 6 2 4 4 4 4 4 4 4 4 4 2 2 1 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 5 0 1 5 1 2 5 1 3 2 2...
result:
ok Kout = 66, Kans = 39
Test #25:
score: 0
Accepted
time: 2ms
memory: 3484kb
input:
1 19 1010110011001101000
output:
722 0 0 4 0 0 4 0 0 4 1 1 1 0 0 4 2 2 4 0 0 4 3 3 1 0 0 4 4 4 4 0 0 4 5 5 4 0 0 4 6 6 1 0 0 4 7 7 1 0 0 4 8 8 4 0 0 4 9 9 4 0 0 4 10 10 1 0 0 4 11 11 1 0 0 4 12 12 4 0 0 4 13 13 4 0 0 4 14 14 1 0 0 4 15 15 4 0 0 4 16 16 1 0 0 4 17 17 1 0 0 4 18 18 1 1 1 1 0 0 4 1 1 1 1 1 1 1 1 1 2 2 4 1 1 1 3 3 1 1 ...
result:
ok Kout = 722, Kans = 532
Test #26:
score: -100
Wrong Answer
time: 1ms
memory: 3432kb
input:
5 32 10101101001001001101111100100110 00110110010111010101011000011010 01010101110100000110001000010100 11010011000110101101110001011111 00111001110011110000000010000111
output:
836 0 0 2 0 0 3 0 3 4 0 7 3 0 8 1 0 9 1 0 9 4 0 10 2 0 15 1 0 16 2 0 16 3 0 17 3 0 18 1 0 19 3 0 20 2 0 20 3 0 21 3 0 23 2 0 24 1 0 25 2 0 26 2 0 29 3 0 30 3 1 1 2 1 1 3 1 2 1 1 2 4 1 3 3 1 4 1 1 7 3 1 10 1 1 11 3 1 13 1 1 13 4 1 15 1 1 17 3 1 18 2 1 23 1 1 24 1 1 25 2 1 26 1 1 27 3 1 29 3 1 30 4 2 ...
result:
wrong answer The output contains more solutions than intended.