QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#658793#9478. Shift Puzzleucup-team1782#WA 24ms16300kbC++145.5kb2024-10-19 17:37:442024-10-19 17:37:50

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 8604kb

input:

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

output:

Yes
4
1 3
2 1
2 3
1 1

result:

ok AC

Test #2:

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

input:

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

output:

Yes
0

result:

ok AC

Test #3:

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

input:

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

output:

No

result:

ok AC

Test #4:

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

input:

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

output:

No

result:

ok AC

Test #5:

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

input:

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

output:

No

result:

ok AC

Test #6:

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

input:

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

output:

No

result:

ok AC

Test #7:

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

input:

2
..
..
..
..

output:

Yes
0

result:

ok AC

Test #8:

score: 0
Accepted
time: 2ms
memory: 8252kb

input:

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

output:

Yes
4
1 1
1 2
2 2
2 3

result:

ok AC

Test #9:

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

input:

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

output:

Yes
1
1 3

result:

ok AC

Test #10:

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

input:

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

output:

Yes
2
2 1
1 3

result:

ok AC

Test #11:

score: 0
Accepted
time: 23ms
memory: 15840kb

input:

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

output:

Yes
4
2 1
1 3
2 2
1 3

result:

ok AC

Test #12:

score: 0
Accepted
time: 20ms
memory: 16300kb

input:

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

output:

Yes
7
2 1
2 1
1 2
1 2
2 3
2 3
1 3

result:

ok AC

Test #13:

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

input:

2
.#
.#
#.
#.

output:

Yes
2
1 1
1 2

result:

ok AC

Test #14:

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

input:

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

output:

Yes
4
2 2
1 2
2 1
2 3

result:

ok AC

Test #15:

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

input:

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

output:

Yes
5
1 1
2 1
1 2
2 2
1 1

result:

ok AC

Test #16:

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

input:

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

output:

Yes
4
1 2
1 3
2 3
1 1

result:

ok AC

Test #17:

score: 0
Accepted
time: 24ms
memory: 15540kb

input:

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

output:

Yes
8
2 1
2 2
2 2
2 4
1 2
2 1
1 3
2 3

result:

ok AC

Test #18:

score: 0
Accepted
time: 20ms
memory: 15580kb

input:

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

output:

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

result:

ok AC

Test #19:

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

input:

19
.######.######..###
...###.##.###.#####
.#.####..#.##...###
.#####.##.######.##
.##.#############..
.#.....##..#.##.#.#
#####.###..#.###.##
#.####.#...##..#.##
.######.##.##..####
.#.###.###.###..###
#######.###.#..###.
#####.###.####.##.#
..#.######..###..#.
#.#.#..####..###.#.
########.####..##...

output:

No

result:

ok AC

Test #20:

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

input:

21
#####################
#####################
#####################
#####################
#####################
#####################
#####################
#########.###########
#####################
#####################
#####################
#####################
#####################
###########...

output:

No

result:

ok AC

Test #21:

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

input:

26
##.###....#######.....#...
.#.##.#####..#..#..###.###
.#.#####.##.##.#.#.##.#..#
###.###...##...#.#....#.#.
.##..###..#.##.#.##..#.#.#
#..##...##.#...####...####
##.#..###.#.####...###....
.##..#..##.##..#.##...#.##
####.###..#.#####..#####..
.#.#.##..###.###..###.####
##.##.#..#..#....###..###.
...

output:

No

result:

ok AC

Test #22:

score: -100
Wrong Answer
time: 2ms
memory: 9940kb

input:

35
####.##.###.####..##.##############
####.####.##############.######.###
###########..######.###.######.###.
#.#.####.##.#####...###############
################.#####.############
#######...#.####.###..######.######
#.##.#############.####.######.#.##
##..####.####.#####################
#####.##....

output:

Yes
5358
1 34
1 34
1 34
1 31
1 31
1 31
1 31
1 31
1 25
1 25
1 25
1 25
1 25
1 24
1 24
1 19
1 19
1 19
1 19
1 19
1 18
1 13
1 13
1 10
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
1 8
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 35
2 ...

result:

wrong answer WA S is not T