QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#84229#5583. Color TubesZhaoZiLongRE 135ms57124kbJava114.5kb2023-03-06 01:39:002023-03-06 01:39:02

详细

Test #1:

score: 100
Accepted
time: 110ms
memory: 57124kb

input:

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

output:

15
1 4
1 4
3 1
4 1
4 1
2 3
2 4
2 4
3 2
3 2
4 2
3 4
4 3
4 3
4 3

result:

ok correct

Test #2:

score: 0
Accepted
time: 125ms
memory: 53696kb

input:

1
0 0 0
1 1 1

output:

3
2 1
2 1
2 1

result:

ok correct

Test #3:

score: 0
Accepted
time: 115ms
memory: 55328kb

input:

2
2 1 0
2 1 0
2 1 0

output:

11
1 2
1 3
2 1
2 1
3 2
3 1
2 3
2 3
3 2
3 2
3 2

result:

ok correct

Test #4:

score: 0
Accepted
time: 135ms
memory: 55204kb

input:

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

output:

14
2 1
3 1
4 1
2 3
2 4
3 2
3 2
4 3
4 2
3 4
3 4
4 3
4 3
4 3

result:

ok correct

Test #5:

score: -100
Runtime Error

input:

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

output:


result: