QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#659615#9478. Shift Puzzleucup-team3807#RE 1ms5988kbC++233.6kb2024-10-19 20:59:452024-10-19 20:59:45

詳細信息

Test #1:

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

input:

3
.#.
#.#
.#.
#.#
...
#.#

output:

Yes
21
1 1
1 1
1 2
1 3
2 3
1 1
2 1
1 3
1 3
2 3
1 2
1 2
2 3
1 2
1 1
2 2
2 2
1 1
2 1
2 1
2 2

result:

ok AC

Test #2:

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

input:

3
.#.
#.#
.#.
.#.
#.#
.#.

output:

Yes
14
1 1
1 1
1 2
1 3
2 3
2 3
1 1
2 1
2 1
1 1
2 2
1 1
2 1
2 2

result:

ok AC

Test #3:

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

input:

13
.............
....#####....
......#......
......#......
......#......
......#......
.............
....#...#....
....#...#....
....#...#....
....#...#....
.....###.....
.............
....####.....
....#...#....
....####.....
....#........
....#........
.............
.....###.....
....#...#....
......

output:

No

result:

ok AC

Test #4:

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

input:

3
#.#
#.#
###
#.#
.#.
###

output:

No

result:

ok AC

Test #5:

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

input:

4
.#..
.#..
....
...#
....
..#.
#...
....

output:

No

result:

ok AC

Test #6:

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

input:

4
....
....
....
.#..
..##
##.#
####
..##

output:

No

result:

ok AC

Test #7:

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

input:

2
..
..
..
..

output:

Yes
2
1 1
2 1

result:

ok AC

Test #8:

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

input:

3
.##
##.
.#.
##.
..#
.##

output:

Yes
16
1 1
1 2
2 3
1 1
1 1
1 3
1 3
2 3
1 1
2 1
1 3
1 1
2 2
1 1
2 1
2 2

result:

ok AC

Test #9:

score: -100
Runtime Error

input:

3
...
#..
..#
...
#..
#..

output:


result: