QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#592111#294. 电路板5un_xiaomivita_mbox0 14ms10616kbPython330b2024-09-26 20:48:032024-09-26 20:48:05

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 10ms
memory: 10500kb

input:

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

output:

114514

result:

wrong answer 1st lines differ - expected: '16 96', found: '114514'

Test #2:

score: 0
Wrong Answer
time: 8ms
memory: 10448kb

input:

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

output:

114514

result:

wrong answer 1st lines differ - expected: '8 2', found: '114514'

Test #3:

score: 0
Wrong Answer
time: 9ms
memory: 10572kb

input:

9 9 1
 0 0 0 0 1 1 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 1 0 1 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 1 0 0 0 0 0
 0 0 0 0 0 1 0 0 0
 0 0 0 0 0 0 0 0 0
5 2 5 7
9 9 1
 1 0 0 0 0 0 0 0 1
 0 1 0 0 0 0 0 0 0
 0 0 0 0 1 0 0 1 0
 0 0 0 0 0 0 0 0 1
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0...

output:

114514

result:

wrong answer 1st lines differ - expected: '5 1', found: '114514'

Test #4:

score: 0
Wrong Answer
time: 14ms
memory: 10444kb

input:

9 9 3
 0 0 0 1 0 0 1 0 0
 0 0 0 0 0 1 0 0 0
 1 0 0 0 1 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 1 0 0 1 0 0 0 0
 0 1 0 0 0 0 0 0 0
 0 0 0 1 0 1 0 0 0
 0 0 0 0 0 0 0 0 0
4 8 0 8
4 2 5 7
3 7 5 3
9 9 3
 1 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 1 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 1 0 0
 1 0 0 0 0 1 0 0 ...

output:

114514

result:

wrong answer 1st lines differ - expected: '18 15', found: '114514'

Test #5:

score: 0
Wrong Answer
time: 14ms
memory: 10396kb

input:

9 9 3
 0 1 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 1
 0 0 0 0 0 0 1 0 0
 1 0 0 0 0 0 0 0 1
 0 0 0 0 1 0 0 0 0
 1 0 0 0 0 0 0 0 0
1 0 1 5
0 4 1 5
0 0 7 8
9 9 3
 0 0 0 0 0 0 0 0 0
 0 0 0 0 1 0 0 0 0
 0 1 0 0 0 0 0 0 0
 0 0 1 0 1 0 0 0 0
 0 0 1 0 0 0 0 0 ...

output:

114514

result:

wrong answer 1st lines differ - expected: '-1 0', found: '114514'

Test #6:

score: 0
Wrong Answer
time: 7ms
memory: 10480kb

input:

9 9 3
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 1 1 0 0 0 1 0 0 1
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 1
 0 0 1 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
4 7 5 2
1 4 3 4
3 7 5 0
9 9 3
 0 0 0 0 0 0 0 1 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 1 0 0
 0 0 1 0 0 0 0 0 ...

output:

114514

result:

wrong answer 1st lines differ - expected: '-1 0', found: '114514'

Test #7:

score: 0
Wrong Answer
time: 14ms
memory: 10476kb

input:

8 8 8
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 1 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
3 4 0 1
5 1 4 0
0 0 4 4
3 0 5 2
0 7 0 7
1 0 7 6
0 3 4 7
1 5 0 4
8 8 8
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 ...

output:

114514

result:

wrong answer 1st lines differ - expected: '-1 0', found: '114514'

Test #8:

score: 0
Wrong Answer
time: 3ms
memory: 10616kb

input:

8 8 8
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
3 2 5 4
0 4 3 7
7 6 6 5
5 2 6 3
6 4 2 0
1 3 0 2
1 0 2 1
3 5 2 4
8 8 8
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0
 0 ...

output:

114514

result:

wrong answer 1st lines differ - expected: '30 10080', found: '114514'

Test #9:

score: 0
Wrong Answer
time: 10ms
memory: 10500kb

input:

9 9 10
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 1 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
4 6 2 4
7 4 8 5
3 0 6 3
2 3 7 8
6 6 8 8
7 0 8 1
0 3 2 5
3 1 8 6
0 1 0 1
3 7 0 4
9 9 10
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0...

output:

114514

result:

wrong answer 1st lines differ - expected: '-1 0', found: '114514'

Test #10:

score: 0
Wrong Answer
time: 11ms
memory: 10500kb

input:

9 9 10
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
4 0 4 0
8 1 7 0
2 7 0 5
7 6 8 7
0 1 1 2
2 5 5 8
8 6 6 4
7 1 6 0
5 7 6 8
5 4 6 5
9 9 10
 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0...

output:

114514

result:

wrong answer 1st lines differ - expected: '-1 0', found: '114514'