QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#668934 | #9478. Shift Puzzle | ucup-team5330 | RE | 0ms | 3900kb | C++14 | 4.1kb | 2024-10-23 16:39:09 | 2024-10-23 16:39:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3688kb
input:
3 .#. #.# .#. #.# ... #.#
output:
Yes 27 1 3 1 3 1 3 2 3 2 3 1 1 1 3 2 1 1 3 1 3 2 1 2 1 1 3 1 3 1 3 2 2 1 1 1 1 2 1 1 1 1 1 2 1 2 1 1 1 1 1 2 2 2 2
result:
ok AC
Test #2:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
3 .#. #.# .#. .#. #.# .#.
output:
Yes 13 1 3 2 3 1 1 1 1 1 1 1 1 2 2 1 1 2 2 2 2 1 1 2 3 2 3
result:
ok AC
Test #3:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
13 ............. ....#####.... ......#...... ......#...... ......#...... ......#...... ............. ....#...#.... ....#...#.... ....#...#.... ....#...#.... .....###..... ............. ....####..... ....#...#.... ....####..... ....#........ ....#........ ............. .....###..... ....#...#.... ......
output:
No
result:
ok AC
Test #4:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
3 #.# #.# ### #.# .#. ###
output:
No
result:
ok AC
Test #5:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
4 .#.. .#.. .... ...# .... ..#. #... ....
output:
No
result:
ok AC
Test #6:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
4 .... .... .... .#.. ..## ##.# #### ..##
output:
No
result:
ok AC
Test #7:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
2 .. .. .. ..
output:
Yes 1 1 1
result:
ok AC
Test #8:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
3 .## ##. .#. ##. ..# .##
output:
Yes 22 1 3 1 3 1 3 2 3 1 2 1 2 2 1 1 2 1 2 2 1 2 1 1 2 1 2 1 3 2 1 1 3 1 3 2 1 2 1 1 3 1 3 1 3
result:
ok AC
Test #9:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
3 ... #.. ..# ... #.. #..
output:
Yes 1 1 3
result:
ok AC
Test #10:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
3 ..# .## ### #.# .## #.#
output:
Yes 10 1 3 1 1 2 2 1 1 1 1 2 2 2 2 1 1 1 1 1 1
result:
ok AC
Test #11:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
4 .... #... ...# #.#. #... .... .#.. .##.
output:
Yes 37 1 3 1 2 1 2 1 2 2 1 1 2 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 4 1 4 1 4 1 4 1 4 1 4 2 1 1 4 2 1 2 1 2 1 1 4 1 4 2 2 1 4 1 4 1 4 2 2 2 2 2 2 1 4 1 4 1 4 1 4
result:
ok AC
Test #12:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
4 #.#. ##.. .... #..# .... ...# .#.# #.##
output:
Yes 49 1 3 1 1 1 1 1 1 2 3 1 1 2 3 2 3 2 3 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 2 2 1 1 2 2 1 2 1 2 1 1 2 1 2 1 2 1 3 1 3 2 2 1 3 1 3 1 3 2 2 2 2 2 2 1 3 1 3 1 3 1 3 1 3 1 3 2 1 1 3 1 3 1 3 2 1 2 1 2 1 1 3 1 3
result:
ok AC
Test #13:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
2 .# .# #. #.
output:
Yes 2 1 1 1 2
result:
ok AC
Test #14:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
3 ##. .## ... ... #.. ###
output:
Yes 26 2 3 1 2 2 3 2 3 1 3 1 2 1 3 2 1 1 1 1 1 2 3 1 1 2 3 2 3 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 2 2 2 1 1 1 1 1 1
result:
ok AC
Test #15:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
3 .#. ##. .#. #.# ..# #..
output:
Yes 18 1 3 1 3 1 3 2 3 2 3 1 1 1 3 1 3 1 2 1 2 1 2 2 1 1 2 1 2 2 1 2 1 1 2 1 2
result:
ok AC
Test #16:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
3 #.# #.. #.. .#. .## .#.
output:
Yes 18 1 3 1 3 1 3 2 3 2 3 1 1 1 3 1 3 1 2 1 3 1 3 2 3 1 3 2 3 2 3 1 3 1 3 1 3
result:
ok AC
Test #17:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
4 #### #..# ...# .#.. .... .##. ###. #.##
output:
Yes 64 1 3 1 2 1 1 2 3 2 4 1 1 1 1 1 1 2 4 2 4 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 3 1 1 2 3 2 3 2 3 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 2 1 2 1 1 1 1 1 1 1 1 1 1 3 1 3 2 1 1 3 1 3 1 3 2 1 2 1 2 1 1 3 1 3 1 3 2 2 1 4 1 4 1 4 2 2 2 2 2 2 1 4 1 4 1 4 1 4 1 4
result:
ok AC
Test #18:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
4 .#.# ##.. .#.# .##. #.#. ..## #.#. #..#
output:
Yes 51 1 3 1 2 1 1 2 2 1 3 1 3 2 4 1 3 1 3 1 3 2 4 2 4 2 4 1 3 1 3 1 3 2 2 2 2 2 2 2 3 1 1 1 1 1 1 1 1 2 4 1 1 2 4 2 4 2 4 1 1 1 1 1 1 2 3 2 3 2 3 2 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 2 1 2 1 1 1 1 1 2 2 2 2 2 2
result:
ok AC
Test #19:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
19 .######.######..### ...###.##.###.##### .#.####..#.##...### .#####.##.######.## .##.#############.. .#.....##..#.##.#.# #####.###..#.###.## #.####.#...##..#.## .######.##.##..#### .#.###.###.###..### #######.###.#..###. #####.###.####.##.# ..#.######..###..#. #.#.#..####..###.#. ########.####..##...
output:
No
result:
ok AC
Test #20:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
21 ##################### ##################### ##################### ##################### ##################### ##################### ##################### #########.########### ##################### ##################### ##################### ##################### ##################### ###########...
output:
No
result:
ok AC
Test #21:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
26 ##.###....#######.....#... .#.##.#####..#..#..###.### .#.#####.##.##.#.#.##.#..# ###.###...##...#.#....#.#. .##..###..#.##.#.##..#.#.# #..##...##.#...####...#### ##.#..###.#.####...###.... .##..#..##.##..#.##...#.## ####.###..#.#####..#####.. .#.#.##..###.###..###.#### ##.##.#..#..#....###..###. ...
output:
No
result:
ok AC
Test #22:
score: -100
Runtime Error
input:
35 ####.##.###.####..##.############## ####.####.##############.######.### ###########..######.###.######.###. #.#.####.##.#####...############### ################.#####.############ #######...#.####.###..######.###### #.##.#############.####.######.#.## ##..####.####.##################### #####.##....
output:
Yes 24466 1 13 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 25 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 25 2 25 2 25 2 25 2 25 2 25 2 ...