QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#659912#9478. Shift Puzzleucup-team4125#WA 0ms3804kbC++147.5kb2024-10-19 23:17:032024-10-19 23:17:03

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3544kb

input:

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

output:

Yes
24
2 1
2 1
1 1
1 1
2 1
1 1
1 2
1 2
2 3
1 2
2 3
2 3
2 1
2 1
1 2
2 1
1 2
1 2
2 3
2 3
1 3
2 3
1 3
1 3

result:

ok AC

Test #2:

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

input:

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

output:

Yes
0

result:

ok AC

Test #3:

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

input:

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

output:

No

result:

ok AC

Test #4:

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

input:

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

output:

No

result:

ok AC

Test #5:

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

input:

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

output:

No

result:

ok AC

Test #6:

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

input:

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

output:

No

result:

ok AC

Test #7:

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

input:

2
..
..
..
..

output:

Yes
0

result:

ok AC

Test #8:

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

input:

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

output:

Yes
18
2 1
2 1
1 1
2 1
1 1
1 1
1 2
1 2
2 3
2 3
1 2
2 3
1 2
2 3
2 3
1 2
1 2
2 3

result:

ok AC

Test #9:

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

input:

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

output:

Yes
6
1 3
2 1
2 1
1 3
1 3
2 1

result:

ok AC

Test #10:

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

input:

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

output:

Yes
6
1 3
1 3
2 1
2 1
1 3
2 1

result:

ok AC

Test #11:

score: -100
Wrong Answer
time: 0ms
memory: 3564kb

input:

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

output:

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

result:

wrong answer WA S is not T