QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#659616#9478. Shift Puzzleucup-team3807#WA 1ms5980kbC++173.7kb2024-10-19 20:59:532024-10-19 20:59:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

Yes
15
1 1
1 1
1 2
1 3
2 3
1 1
2 1
1 3
1 1
2 2
1 3
1 1
2 1
2 1
2 2

result:

ok AC

Test #2:

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

input:

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

output:

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

result:

ok AC

Test #3:

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

input:

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

output:

No

result:

ok AC

Test #4:

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

input:

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

output:

No

result:

ok AC

Test #5:

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

input:

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

output:

No

result:

ok AC

Test #6:

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

input:

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

output:

No

result:

ok AC

Test #7:

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

input:

2
..
..
..
..

output:

Yes
2
1 1
2 1

result:

ok AC

Test #8:

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

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
Wrong Answer
time: 0ms
memory: 5852kb

input:

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

output:

Yes
39
1 1
1 2
1 1
2 2
1 2
2 3
1 1
1 3
2 3
1 1
2 1
1 1
2 2
1 1
2 1
2 1
1 3
2 2
2 2
1 3
1 3
1 3
2 3
2 3
2 3
1 1
2 1
1 1
2 2
1 3
2 3
1 2
1 2
2 3
1 2
1 1
2 1
1 2
2 2

result:

wrong answer WA M is too big