QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219511#6380. LaLa and Divination Magicucup-team017#WA 2ms16320kbC++142.4kb2023-10-19 15:49:322023-10-19 15:49:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 12000kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #2:

score: 0
Accepted
time: 0ms
memory: 16164kb

input:

3 3
101
011
111

output:

2
2 2 4
0 1 4

result:

ok Kout = 2, Kans = 6

Test #3:

score: 0
Accepted
time: 1ms
memory: 9892kb

input:

2 1
0
1

output:

0

result:

ok Kout = 0, Kans = 0

Test #4:

score: 0
Accepted
time: 1ms
memory: 9952kb

input:

2 1
0
1

output:

0

result:

ok Kout = 0, Kans = 0

Test #5:

score: 0
Accepted
time: 1ms
memory: 10220kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #6:

score: 0
Accepted
time: 0ms
memory: 11976kb

input:

2 1
0
1

output:

0

result:

ok Kout = 0, Kans = 0

Test #7:

score: 0
Accepted
time: 1ms
memory: 9984kb

input:

2 1
0
1

output:

0

result:

ok Kout = 0, Kans = 0

Test #8:

score: 0
Accepted
time: 1ms
memory: 9956kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #9:

score: 0
Accepted
time: 1ms
memory: 12076kb

input:

1 1
1

output:

1
0 0 4

result:

ok Kout = 1, Kans = 1

Test #10:

score: 0
Accepted
time: 2ms
memory: 14112kb

input:

1 1
0

output:

1
0 0 1

result:

ok Kout = 1, Kans = 1

Test #11:

score: 0
Accepted
time: 1ms
memory: 10220kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #12:

score: 0
Accepted
time: 1ms
memory: 11976kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #13:

score: 0
Accepted
time: 0ms
memory: 16128kb

input:

2 4
0111
0010

output:

4
0 0 1
2 2 4
1 3 2
1 3 3

result:

ok Kout = 4, Kans = 15

Test #14:

score: 0
Accepted
time: 0ms
memory: 11968kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #15:

score: 0
Accepted
time: 1ms
memory: 9936kb

input:

4 2
10
11
01
00

output:

0

result:

ok Kout = 0, Kans = 0

Test #16:

score: 0
Accepted
time: 1ms
memory: 9884kb

input:

2 1
1
0

output:

0

result:

ok Kout = 0, Kans = 0

Test #17:

score: 0
Accepted
time: 0ms
memory: 16080kb

input:

2 4
0010
1000

output:

4
1 1 1
3 3 1
0 2 4
0 2 1

result:

ok Kout = 4, Kans = 15

Test #18:

score: 0
Accepted
time: 0ms
memory: 14068kb

input:

2 5
11101
00000

output:

13
3 3 1
0 1 2
0 1 3
0 2 2
0 2 3
0 4 2
0 4 3
1 2 2
1 2 3
1 4 2
1 4 3
2 4 2
2 4 3

result:

ok Kout = 13, Kans = 21

Test #19:

score: 0
Accepted
time: 0ms
memory: 13932kb

input:

5 4
0010
1001
0011
0101
1011

output:

-1

result:

ok Kout = -1, Kans = -1

Test #20:

score: 0
Accepted
time: 1ms
memory: 14028kb

input:

3 2
01
00
10

output:

1
0 1 1

result:

ok Kout = 1, Kans = 1

Test #21:

score: 0
Accepted
time: 1ms
memory: 16100kb

input:

3 2
10
11
00

output:

1
0 1 2

result:

ok Kout = 1, Kans = 1

Test #22:

score: 0
Accepted
time: 1ms
memory: 10188kb

input:

2 1
0
1

output:

0

result:

ok Kout = 0, Kans = 0

Test #23:

score: 0
Accepted
time: 2ms
memory: 16320kb

input:

3 27
111010110011101010011110110
010001110100000110100101101
000011111000000010011111001

output:

-1

result:

ok Kout = -1, Kans = -1

Test #24:

score: -100
Wrong Answer
time: 1ms
memory: 14048kb

input:

3 7
1000100
0001100
0101111

output:

-1

result:

wrong answer Jury has a solution while the participant doesn't, Kans = 39