QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#84228#5583. Color TubesMaMengQiWA 132ms57464kbJava114.2kb2023-03-06 01:33:562023-03-06 01:33:58

詳細信息

Test #1:

score: 100
Accepted
time: 117ms
memory: 57464kb

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: 108ms
memory: 55464kb

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: 126ms
memory: 53632kb

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: 132ms
memory: 54696kb

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
Wrong Answer
time: 119ms
memory: 53600kb

input:

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

output:

24
1 3
1 3
1 3
2 1
4 1
3 4
3 2
3 1
4 3
2 3
2 3
2 4
4 2
3 4
3 2
4 3
4 4
4 2
4 4
3 4
3 4
4 3
4 3
4 3

result:

wrong answer Invalid step 17.