QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214194#6442. Secret of Tianqiu ValleyHuangHanShengWA 1ms3624kbC++201.5kb2023-10-14 17:51:352023-10-14 17:51:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3500kb

input:

2
5
00000
3
001

output:

7
2 5 1 2 3 4 2
0

result:

ok all puzzle solved (2 test cases)

Test #2:

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

input:

7
3
000
3
100
3
010
3
110
3
001
3
101
3
011

output:

1
2
0
0
0
0
0
0

result:

ok all puzzle solved (7 test cases)

Test #3:

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

input:

15
4
0000
4
1000
4
0100
4
1100
4
0010
4
1010
4
0110
4
1110
4
0001
4
1001
4
0101
4
1101
4
0011
4
1011
4
0111

output:

0
3
2 1 3
4
2 1 3 4
0
0
0
0
0
12
2 1 3 4 4 1 2 4 1 1 1 2
0
16
2 1 3 4 4 1 2 4 1 1 1 2 3 1 1 3
0
0
0
0

result:

wrong answer solvable puzzle unsolved (test case 1)