QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#669155 | #9478. Shift Puzzle | ucup-team5330 | AC ✓ | 210ms | 13632kb | C++14 | 4.9kb | 2024-10-23 17:28:13 | 2024-10-23 17:28:13 |
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: 1ms
memory: 3916kb
input:
3 .#. #.# .#. #.# ... #.#
output:
Yes 17 2 1 1 3 2 2 2 2 2 2 2 1 1 1 1 3 1 2 1 2 1 2 2 1 1 2 2 1 2 1 1 2 1 2
result:
ok AC
Test #2:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
3 .#. #.# .#. .#. #.# .#.
output:
Yes 10 2 1 2 1 1 3 1 3 2 1 2 1 1 3 1 3 1 3 1 3
result:
ok AC
Test #3:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
13 ............. ....#####.... ......#...... ......#...... ......#...... ......#...... ............. ....#...#.... ....#...#.... ....#...#.... ....#...#.... .....###..... ............. ....####..... ....#...#.... ....####..... ....#........ ....#........ ............. .....###..... ....#...#.... ......
output:
No
result:
ok AC
Test #4:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
3 #.# #.# ### #.# .#. ###
output:
No
result:
ok AC
Test #5:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
4 .#.. .#.. .... ...# .... ..#. #... ....
output:
No
result:
ok AC
Test #6:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
4 .... .... .... .#.. ..## ##.# #### ..##
output:
No
result:
ok AC
Test #7:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
2 .. .. .. ..
output:
Yes 1 2 2
result:
ok AC
Test #8:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
3 .## ##. .#. ##. ..# .##
output:
Yes 20 2 1 1 3 2 3 1 2 1 2 2 3 2 3 1 2 1 2 1 2 1 2 1 2 1 2 2 1 1 2 1 2 2 1 2 1 1 2 1 2
result:
ok AC
Test #9:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
3 ... #.. ..# ... #.. #..
output:
Yes 10 2 1 1 3 2 1 1 3 1 3 2 1 2 1 1 3 1 3 1 3
result:
ok AC
Test #10:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
3 ..# .## ### #.# .## #.#
output:
Yes 13 2 1 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 #11:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
4 .... #... ...# #.#. #... .... .#.. .##.
output:
Yes 37 2 2 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 2 4 1 4 2 4 2 4 2 4 1 4 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: 3844kb
input:
4 #.#. ##.. .... #..# .... ...# .#.# #.##
output:
Yes 37 2 2 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 2 1 1 3 1 3 1 3 2 1 2 1 2 1 1 3 1 3 1 3 1 3
result:
ok AC
Test #13:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
2 .# .# #. #.
output:
Yes 7 2 2 1 2 2 1 2 2 2 1 2 1 1 2
result:
ok AC
Test #14:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
3 ##. .## ... ... #.. ###
output:
Yes 21 2 1 1 3 2 2 2 3 1 3 1 3 2 3 2 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 2 2 1 3 2 2 2 2 1 3 1 3
result:
ok AC
Test #15:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
3 .#. ##. .#. #.# ..# #..
output:
Yes 26 2 1 1 3 2 2 2 2 2 2 2 1 1 1 1 3 1 2 1 2 1 2 1 2 2 1 1 2 2 1 2 1 1 2 2 3 1 3 1 3 2 3 2 3 1 3 1 3 1 3 1 3
result:
ok AC
Test #16:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
3 #.# #.. #.. .#. .## .#.
output:
Yes 24 2 2 1 1 1 3 1 2 1 2 1 2 2 1 1 2 2 1 2 1 1 2 1 2 2 1 1 3 2 2 1 3 1 3 2 2 2 2 1 3 1 3 1 3 2 1 2 1
result:
ok AC
Test #17:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
4 #### #..# ...# .#.. .... .##. ###. #.##
output:
Yes 58 2 2 1 4 2 3 2 4 2 3 2 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 3 1 3 1 3 1 3 1 3 2 4 1 3 2 4 2 4 2 4 1 3 1 3 2 1 1 3 1 3 2 3 1 3 1 3 1 3 2 3 2 3 2 3 1 3 1 3 1 3 2 1 2 1 2 1 1 4 1 4 1 4 2 4 1 4 1 4 1 4 2 4 2 4 2 4 1 4 1 4
result:
ok AC
Test #18:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
4 .#.# ##.. .#.# .##. #.#. ..## #.#. #..#
output:
Yes 62 2 2 1 4 2 3 2 4 2 3 2 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 2 2 1 2 2 3 1 2 1 2 1 2 2 3 2 3 2 3 1 2 1 2 1 2 1 2 2 2 2 2 2 2 1 2 1 2 1 2 2 1 1 2 1 2 1 2 2 1 2 1 2 1 1 2 1 2 2 2 1 4 1 4 1 4 1 4 2 3 1 4 2 3 2 3 2 3 1 4 1 4 1 4 2 2 2 2 2 2
result:
ok AC
Test #19:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
19 .######.######..### ...###.##.###.##### .#.####..#.##...### .#####.##.######.## .##.#############.. .#.....##..#.##.#.# #####.###..#.###.## #.####.#...##..#.## .######.##.##..#### .#.###.###.###..### #######.###.#..###. #####.###.####.##.# ..#.######..###..#. #.#.#..####..###.#. ########.####..##...
output:
No
result:
ok AC
Test #20:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
21 ##################### ##################### ##################### ##################### ##################### ##################### ##################### #########.########### ##################### ##################### ##################### ##################### ##################### ###########...
output:
No
result:
ok AC
Test #21:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
26 ##.###....#######.....#... .#.##.#####..#..#..###.### .#.#####.##.##.#.#.##.#..# ###.###...##...#.#....#.#. .##..###..#.##.#.##..#.#.# #..##...##.#...####...#### ##.#..###.#.####...###.... .##..#..##.##..#.##...#.## ####.###..#.#####..#####.. .#.#.##..###.###..###.#### ##.##.#..#..#....###..###. ...
output:
No
result:
ok AC
Test #22:
score: 0
Accepted
time: 3ms
memory: 3896kb
input:
35 ####.##.###.####..##.############## ####.####.##############.######.### ###########..######.###.######.###. #.#.####.##.#####...############### ################.#####.############ #######...#.####.###..######.###### #.##.#############.####.######.#.## ##..####.####.##################### #####.##....
output:
Yes 24186 2 32 2 32 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 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32 2 32...
result:
ok AC
Test #23:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
34 .........#.................#...... ...#.#............................ ..........#.............#......... .................................# .......#.......................... .................................. .......................#.......... .................#................ ....................
output:
Yes 4523 2 20 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 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 26 1 1 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2 26 2...
result:
ok AC
Test #24:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
23 ####.####.#.#.######### ..####.##.##.###.###### #.###...#.#.###.###.### ###.#####.####..####### #.#...##.######..#.#.## .####.##.###########..# ##.#....##..###.#.#..## ##.#.####...##.###..#.# ##.###..###########.### ###.###..###.#.#.#.##.# #.####.###..##.#####..# ###.######.##.####..#.# .###.####...
output:
Yes 8350 2 18 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 12 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 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
result:
ok AC
Test #25:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
20 #....###......##...# .......##...#...#..# ......#.....#.#..... ..#....##.#..#.#.... #..#...#.#...##.#... ...#...#...##.....#. #####.#........#.... ....##...#.#..#..... .#.#........#....#.. .#.#.###...#........ #.....#..##.##...... ##....##..#......... .#.#..............#. #..............#..#. ##....
output:
Yes 5041 2 2 2 20 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 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 2 20 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 1 2 1 2 1 2 1 2 1 2 1 2...
result:
ok AC
Test #26:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
12 ##..#....... .#.##.###.#. ##.#..#.#### ##.###..###. .#.#.##.#.## ##.###.#...# #..###..#### ..####.##### #.#.##.##.#. .#.##.####.. .#.....##### ###.#..##.#. .##.#######. ..###.#.#### #.###...##.. .#...##.#.## .#.######### #...##.#.##. .##.##...##. ..####.#.### ...#.####### ..#.......#. ..#.#..##.#...
output:
Yes 1213 2 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 2 12 1 1 1 1 1 2 1 2 1 2 2 11 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 11 2 11 2 11 2 11 2 11 2 11 2 11 2 11 2 11 2 11 2 11 1 2 1 2 1 2 1 ...
result:
ok AC
Test #27:
score: 0
Accepted
time: 18ms
memory: 4412kb
input:
44 ###...##.#....##.#####.##.##...####.##....## #.#...##..#.#.##..#.###.......####..#..#..#. ..#.########..##.#.....##.....#..##...#.#.#. #.#.##.#.#.#.#....#.#.######.#....#......### #.#.#.##...##.#..#.#..#######.#.###..###.### ###..#...#...#........##..#...#.##..#..#..## ..##.#..#..#####......#..##...
output:
Yes 85101 2 42 1 12 2 31 2 8 2 3 2 33 1 26 1 33 2 7 1 36 1 34 2 19 1 16 1 29 1 29 2 42 1 17 2 10 2 5 2 35 1 9 2 2 1 7 2 15 2 18 1 31 2 9 2 13 2 8 1 42 1 7 1 19 2 28 2 36 2 35 2 32 1 29 1 31 2 15 2 39 2 8 1 38 2 28 1 17 1 16 1 4 1 32 2 23 1 11 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...
result:
ok AC
Test #28:
score: 0
Accepted
time: 1ms
memory: 3948kb
input:
10 ##...#.#.# ###....### #####.#... ....#....# ....#..##. .#.#..##.# ##.##.#... #..#..##.# ##..#.#.#. ######.#.# ..###.#.#. ...####... .....#.### ####.####. ####.##..# #.#.##..#. ..#..#.### .##.##..#. ..##.#.#.# ......#.#.
output:
Yes 934 2 2 1 8 2 1 2 8 2 5 2 1 1 2 1 9 2 9 1 10 1 6 2 1 1 2 1 1 1 1 1 1 1 1 2 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 9 2 9 2 9 2 9 2 9 2 9 2 9 2 9 2 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 2 1 2 2 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 1 2 1 2 1 2 1 2...
result:
ok AC
Test #29:
score: 0
Accepted
time: 19ms
memory: 4312kb
input:
44 ..#.#.###.#.....#...#.#####.....#....#.#.... ####.....#..##...##..#.####.#.#..#..#..##### #.###.##########.##.#####..#####.#.##....#.# #..#.##.##..###..#...#.....###.##..##.#.##.. .####.#..##.###.#.###....#..#..######...#.#. ##...#.#.##.##..#.##.####.###.#..#####.#.### .#..####...##.####.....##.....
output:
Yes 84890 2 42 1 12 2 31 2 8 2 3 2 33 1 26 1 33 2 7 1 36 1 34 2 19 1 16 1 29 1 29 2 42 1 17 2 10 2 5 2 35 1 9 2 2 1 7 2 15 2 18 1 31 2 9 2 13 2 8 1 42 1 7 1 19 2 28 2 36 2 35 2 32 1 29 1 31 2 15 2 39 2 8 1 38 2 28 1 17 1 16 1 4 1 32 2 23 1 11 2 37 1 26 2 14 1 32 1 22 2 19 1 13 1 41 2 8 1 1 1 1 1 1 1...
result:
ok AC
Test #30:
score: 0
Accepted
time: 1ms
memory: 3728kb
input:
10 ###..#...# #.##.##..# #..#..##.# ..#..###.. #..###...# .##.##.##. .##..##... #.###.##.. .#####.... .#...#.#.# ...##.###. .#..#..##. .##.##..#. ##.##...## .##...###. #..#..#..# #..##..### .#...#..## #.....#### #.###.#.#.
output:
Yes 964 2 2 1 8 2 1 2 8 2 5 2 1 1 2 1 9 2 9 1 10 1 6 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 9 2 9 2 9 2 9 2 9 2 9 2 9 2 9 2 9 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 5 1 1 2 5 2 5 2 5 2 5 2 5 2 5 2 5 2 5 2 5 1 1 1 1 1 1 1 1 1 1 1 1...
result:
ok AC
Test #31:
score: 0
Accepted
time: 5ms
memory: 3956kb
input:
30 ..#.#..#....##.#..###...##.#.. ..###...#####.#..##.##......## ..###.#.####.....#...##..##.#. #.#....####.#..##...##..###..# #.##.#.........#.##.#.##...... #.##......##..#.######..##..## ###..#.##..##...#####.##..##.# #####.#..#...###.....##..#.#.# ##..#.####.####....####......# ##.#..####.#..##.....
output:
Yes 26915 2 22 1 18 2 11 2 8 2 5 2 1 1 22 1 9 2 29 1 10 1 6 2 1 1 2 1 21 1 19 2 4 1 21 2 14 2 29 2 3 1 23 2 30 1 17 2 11 2 30 1 3 2 3 2 1 2 2 1 28 1 27 1 1 2 14 2 20 2 17 1 1 1 1 1 1 1 1 2 30 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 ...
result:
ok AC
Test #32:
score: 0
Accepted
time: 21ms
memory: 5500kb
input:
79 ###########.#####.#.###################################################.######. #####.#########.##.###.##.#.######.############.####.##.###########.##..####### #########.##..########.###.###.##########..################.#########.####.###. #####.####..##.#####.#.###.######.######################....
output:
Yes 180279 2 70 1 1 1 1 1 1 1 1 2 77 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 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...
result:
ok AC
Test #33:
score: 0
Accepted
time: 20ms
memory: 5272kb
input:
79 ..........##...............#..#.#...#...#.....##............................... ..#...#......#.........#..##...#.#....##.##.........##.#...#...#......#..##.... .##....#.........#........#...............#....#......#.......#....#..#....#... ...#...##...##...#...#.#.....................#.#............
output:
Yes 208561 2 70 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 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 1 1 1 1 1 1 ...
result:
ok AC
Test #34:
score: 0
Accepted
time: 18ms
memory: 5348kb
input:
79 .......#..##.#.........#....#....#..#..#.........#.#...........#............... ..#.................#............#...........................#........#.#....#. #........................#........#........#..................#..##...........# ....#...##.................#......##........................
output:
Yes 153261 2 70 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 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 1 1 1 1 1 1 ...
result:
ok AC
Test #35:
score: 0
Accepted
time: 9ms
memory: 4452kb
input:
79 ....................#.......................................................... .............#..#..#.........#............#...............................#.... .......................................................#....................... .........................#....#......................#.#....
output:
Yes 70548 2 70 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 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 1 1 1 1 1 1 1...
result:
ok AC
Test #36:
score: 0
Accepted
time: 37ms
memory: 9188kb
input:
79 ...#####...######.#####.###...####.#.##.#.#....#..##..########.##.##.#.####..## .##..##.####.#####.##.#######.####..#####..#..#.#####.#...####.#######.#..###.# #..####.#.#####.###.####..##..##.#.#####..#.###..#..#....#.####..###.##.###.#.# .##.####.####..######.###..##.#########.#.##.##.#####.......
output:
Yes 339306 2 70 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 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 1 1 1 1 1 1 ...
result:
ok AC
Test #37:
score: 0
Accepted
time: 174ms
memory: 13136kb
input:
79 ######.#####.##.....#..##.##.##.##.###.#####..#####.#.#######.##.#.###.#.###.#. ...#.....##.....#...#...#.####....#.#.#.######..#..####.#.#######.###..###.###. .#.#....##.....##.###.#####...#......#.#..#.#..###.#######.#.##...##..###.#..#. .##.#.#..##.#...###.##....##......#..#....##.##.#.#.#...#...
output:
Yes 491005 1 74 1 15 1 21 2 23 2 50 1 73 2 70 2 15 2 57 2 69 1 18 2 54 2 64 2 54 2 56 2 32 1 76 1 19 1 32 2 32 1 13 2 46 2 26 1 50 1 31 1 65 2 35 2 58 1 3 1 62 2 72 1 32 2 43 1 51 2 2 2 69 1 38 1 49 1 71 2 51 2 65 2 68 1 13 1 9 1 48 1 58 1 43 1 66 2 40 1 56 1 77 2 44 2 50 2 77 1 70 2 78 1 38 1 1 1 7...
result:
ok AC
Test #38:
score: 0
Accepted
time: 160ms
memory: 13300kb
input:
79 ..#.#..###.##.#.#.####.#.##.#..#....#...#######.#...#...#....#####..##..##.#### #.#..####.#.#.#..#..#.#....##...#.#..#..#.###.#.#.#.#.....####.####.#..#.#.###. #...#...#.##.#..##.#####.#.#####.......#######...###.#.#...#.###.####.####..##. #.##.#..#......##...#.##..#..###.##..#..###..#.##.....##....
output:
Yes 491077 1 74 1 15 1 21 2 23 2 50 1 73 2 70 2 15 2 57 2 69 1 18 2 54 2 64 2 54 2 56 2 32 1 76 1 19 1 32 2 32 1 13 2 46 2 26 1 50 1 31 1 65 2 35 2 58 1 3 1 62 2 72 1 32 2 43 1 51 2 2 2 69 1 38 1 49 1 71 2 51 2 65 2 68 1 13 1 9 1 48 1 58 1 43 1 66 2 40 1 56 1 77 2 44 2 50 2 77 1 70 2 78 1 38 1 1 1 7...
result:
ok AC
Test #39:
score: 0
Accepted
time: 210ms
memory: 13256kb
input:
79 ....#.#.##..#.#...........########..#..#..###########.###..#..####.#.###.#..... .#..#...#...#.#####.#..##.#.#.#.#...#.##.##.#..##..##########....##.###.####.## ..###..#..###.....#..##..#.....##..##.###....##..####..##..##..#####.#####....# #.#######..###..###.##.#.#..###########.##..#....#.#.#..#...
output:
Yes 491589 1 74 1 15 1 21 2 23 2 50 1 73 2 70 2 15 2 57 2 69 1 18 2 54 2 64 2 54 2 56 2 32 1 76 1 19 1 32 2 32 1 13 2 46 2 26 1 50 1 31 1 65 2 35 2 58 1 3 1 62 2 72 1 32 2 43 1 51 2 2 2 69 1 38 1 49 1 71 2 51 2 65 2 68 1 13 1 9 1 48 1 58 1 43 1 66 2 40 1 56 1 77 2 44 2 50 2 77 1 70 2 78 1 38 1 1 1 7...
result:
ok AC
Test #40:
score: 0
Accepted
time: 168ms
memory: 13200kb
input:
79 ###..#.#.#...##.##.###...#.####.####...#....#..#...###...#.#..#...#.#.#.##..#.. #####.###....#.#....#.####...#..###..#..#.##.##...#.###..#.#...####.####....#.. ##.....#####.#..#.....#.#.#..#.#..#.############..#.#.#...#....#.###.#...##.##. #.#...#.########..##....#####...##...#.#.#.#..#.#...##......
output:
Yes 491871 2 16 1 14 2 16 1 7 2 19 2 78 2 28 1 41 1 18 2 52 1 28 1 64 2 79 1 6 1 58 1 19 1 53 2 52 1 50 2 46 1 77 1 19 1 30 2 59 2 68 2 78 1 42 2 15 2 21 1 12 2 44 1 63 1 61 1 8 1 40 2 2 2 40 1 75 2 78 1 10 1 71 2 78 2 64 1 38 2 22 2 75 2 10 1 20 1 63 1 5 1 39 1 67 2 63 2 31 1 10 2 6 1 10 2 17 1 48 ...
result:
ok AC
Test #41:
score: 0
Accepted
time: 170ms
memory: 13332kb
input:
79 .....###.##.#.#....####.#.###..#.###..#.##...###.##..#.##.#.####......#.###.#.. ###.##..###.######.#.##..####.#####.#.#.####..#.##..######..#...#.##....###...# #...##.####.#..#####..#####.##.#...####.#...####..##.##.#..####....#...#....### ####..###..#.##.......#...#..##.####.##.###...#####.#..#....
output:
Yes 491794 2 16 1 14 2 16 1 7 2 19 2 78 2 28 1 41 1 18 2 52 1 28 1 64 2 79 1 6 1 58 1 19 1 53 2 52 1 50 2 46 1 77 1 19 1 30 2 59 2 68 2 78 1 42 2 15 2 21 1 12 2 44 1 63 1 61 1 8 1 40 2 2 2 40 1 75 2 78 1 10 1 71 2 78 2 64 1 38 2 22 2 75 2 10 1 20 1 63 1 5 1 39 1 67 2 63 2 31 1 10 2 6 1 10 2 17 1 48 ...
result:
ok AC
Test #42:
score: 0
Accepted
time: 161ms
memory: 11744kb
input:
79 ..##.##.#..#.#.#.#..##.#.....#.#####...####.####..###..##..#....##.#.#...#....# .###.#.####.###.###..#.#.#.#...#.#####...##..#.##..##..#.####..###.#.##.#.#.### .##..###..##....#.#..#.#.##.#.##.###..#####.#..#.#.##.####...##....#.###..###.. #..##..###.#.###.###.##.######.#.#........##...##.##..#.#...
output:
Yes 490767 2 16 1 14 2 16 1 7 2 19 2 78 2 28 1 41 1 18 2 52 1 28 1 64 2 79 1 6 1 58 1 19 1 53 2 52 1 50 2 46 1 77 1 19 1 30 2 59 2 68 2 78 1 42 2 15 2 21 1 12 2 44 1 63 1 61 1 8 1 40 2 2 2 40 1 75 2 78 1 10 1 71 2 78 2 64 1 38 2 22 2 75 2 10 1 20 1 63 1 5 1 39 1 67 2 63 2 31 1 10 2 6 1 10 2 17 1 48 ...
result:
ok AC
Test #43:
score: 0
Accepted
time: 161ms
memory: 13104kb
input:
79 ...##...#..##......##..##....###....#.##..##.##.##..#.#..#.#..##...#........#.. ####.#.#.#.#.###....#..#.##.....#.#.###.#.#.#.#...#.#####..##..###.##.#.####### ..#.#.#...#####.#####.#.##..#.#.#..###.##...##.#.#..#...#####.###..##...##..### .#....#...#..##......#..##....#..##.#..#.##.###..##...#.#...
output:
Yes 490999 2 51 2 23 2 31 2 47 1 74 2 7 2 51 1 62 1 12 2 73 1 65 1 20 1 75 1 76 2 51 1 48 1 79 2 78 2 38 2 15 2 55 2 6 1 71 1 3 1 25 1 33 1 38 1 66 2 77 2 18 2 4 1 22 2 48 1 4 2 42 1 60 2 17 2 72 2 34 2 6 1 44 2 76 1 65 1 36 1 1 2 33 2 15 2 12 2 5 1 57 1 71 2 27 2 53 2 19 1 66 2 15 2 76 1 59 1 77 2 ...
result:
ok AC
Test #44:
score: 0
Accepted
time: 149ms
memory: 13196kb
input:
79 #....#.##.###.....##.#####.#.#..##..#.######.#.###.#.######.#.##.#......#..#.## .###.##.##......#..###.#.#....#....##.###.#.###.#......#...##..##..##...#.##... .##.#..##...##...#.#....#...#...##..#.#.#.#...#.#.##...#.###..##.#####..#.##### ..###..#.###......#..#...###..#......###..##.....####..##...
output:
Yes 490911 2 51 2 23 2 31 2 47 1 74 2 7 2 51 1 62 1 12 2 73 1 65 1 20 1 75 1 76 2 51 1 48 1 79 2 78 2 38 2 15 2 55 2 6 1 71 1 3 1 25 1 33 1 38 1 66 2 77 2 18 2 4 1 22 2 48 1 4 2 42 1 60 2 17 2 72 2 34 2 6 1 44 2 76 1 65 1 36 1 1 2 33 2 15 2 12 2 5 1 57 1 71 2 27 2 53 2 19 1 66 2 15 2 76 1 59 1 77 2 ...
result:
ok AC
Test #45:
score: 0
Accepted
time: 179ms
memory: 12620kb
input:
79 ...#..####..##.#.#..#.....#..#.####...#.#..#.#....#..#..#.###.#####...#....#.## ..##......##.#.##..#.#.###..####.#.##.#.......##..##.....#.#.#####....#..###.#. #..#.##.#.#.##..##.####..########.##.#.#..####.#####.##.######.##.#..####..##.# ##...#....##....####.#.#.#..#...##########.###.###.#..###...
output:
Yes 491078 2 51 2 23 2 31 2 47 1 74 2 7 2 51 1 62 1 12 2 73 1 65 1 20 1 75 1 76 2 51 1 48 1 79 2 78 2 38 2 15 2 55 2 6 1 71 1 3 1 25 1 33 1 38 1 66 2 77 2 18 2 4 1 22 2 48 1 4 2 42 1 60 2 17 2 72 2 34 2 6 1 44 2 76 1 65 1 36 1 1 2 33 2 15 2 12 2 5 1 57 1 71 2 27 2 53 2 19 1 66 2 15 2 76 1 59 1 77 2 ...
result:
ok AC
Test #46:
score: 0
Accepted
time: 173ms
memory: 12612kb
input:
79 #...##..#.##..#.#.###..##.###.#####..#.#...###......#..#...#..######.#.#..#.#.# #..#.##...#.###.#..#...#####.#.#.#...##..##.###..###..####..#.#.#..####.##.#..# ###..#.##..##.###..###.#.##..#..##....##.#..####.##.##..###..#..#.....#..#.##.. .#.#.....##...#.##..###.##.##.##..#..###.##...#.#.#####.#...
output:
Yes 492581 2 76 2 11 2 50 2 20 2 39 1 74 1 42 2 33 2 33 2 30 1 71 2 28 1 63 2 14 1 40 1 49 2 40 2 12 2 49 2 37 2 20 1 34 1 36 1 75 1 41 1 20 1 35 1 63 1 18 1 67 2 37 1 34 2 34 2 35 2 21 2 10 2 54 2 4 1 57 2 73 1 69 2 24 2 69 2 12 2 18 1 49 1 20 2 36 1 19 1 28 2 6 1 54 1 10 2 11 1 49 1 43 2 43 2 68 1...
result:
ok AC
Test #47:
score: 0
Accepted
time: 37ms
memory: 9000kb
input:
80 ##..#..#.#.##.######.####.##...#..#####.#..#.#####.##...#.####.##.##.#.#...#.#.. #.###.#.#.#...#.#...#.#.#.###....#.##.###..#....##.####.##.#####.####.##.##..#.. .###.##.###.##.####..#####..#####.###.#####.##....##.#.#.#..#####.#...###.#.##.# #.###.###..##.#.##.##...###.#.####...##.###.#...##.#.#...
output:
Yes 381041 2 6 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 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 1 1 1 1 1 1 1...
result:
ok AC
Test #48:
score: 0
Accepted
time: 29ms
memory: 8252kb
input:
80 .....#.##...#.#.###.......#..#.#...#..###.#.#..#..#.#...###......####..#.#.#..## ##..##...#.....##.#....###.#..#......###.#...#.##.....#.#.##..##...#....#....... #.#.#..#.#.##..........#..............##..#.#..###.##..#.###...#......#.#...##.. ....#...##.##.#.#.......#...#.#.##.#...#.###..#.#...##...
output:
Yes 356561 2 6 2 79 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 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 1 1 1 1 ...
result:
ok AC
Test #49:
score: 0
Accepted
time: 17ms
memory: 5456kb
input:
80 ###..####..############.########.########.###.########.#####.###.##.######..#### .#####.#.#####.###.######.###..##.################.###.#.####################### ########.#####.######..##.##.####.#.#####.#.#.###..#########...######.##.####### ##.############.#..#.##..########.####..####..#.######...
output:
Yes 191201 2 6 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 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 1 1 1 1 1 1 2...
result:
ok AC
Test #50:
score: 0
Accepted
time: 34ms
memory: 7752kb
input:
80 #.###.##..#..##############.#.###..#######.#####.####.###.######...######.###### #.##...#.####.#.###..#.#####.####.#.#.######.#####.#...###.##..##.#.####.##..### #####################.#..#####.######.###.####.##############.####.###.##.##.#.# ##.##.#.###.##..#####.###########.##.#.#.#.##..#.###.#...
output:
Yes 317441 2 6 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 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 1 1 1 1 1 1 1...
result:
ok AC
Test #51:
score: 0
Accepted
time: 29ms
memory: 9308kb
input:
80 #####..##.###..###..##.#......#..####.##.####.#####.##.####.###.###..#..#.####.. ####...######.#####.##.######..#####..####..#######.#..###########.#..##..#.#### .#..#..##..##..#..#.#.#####..##.#######.##.###..####.###.###..#.#.###.#######.## .#.###.########..###.#.#.#####.###..##...####..#..###....
output:
Yes 303041 1 55 1 1 1 1 1 1 1 1 2 80 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 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...
result:
ok AC
Test #52:
score: 0
Accepted
time: 164ms
memory: 13632kb
input:
80 ##.#..#####...####.#.....#.#.#....##...#.....##...##....#..##....###.....#.##.#. ##.#...#..##.#####...#..#.......#..#..#.###.###########.###.#.##.##.##.########. ...##.##.#..###...###.#.###.#.##.#####..#.....##.####..##.#.####.#######.###.### ....#.##..#.##...##..##.##....#.#...###.#.##..##.##......
output:
Yes 510579 1 55 2 77 1 78 2 21 1 79 2 2 1 56 2 42 1 16 1 80 1 15 1 27 1 18 2 16 1 76 2 57 2 52 1 5 2 73 1 45 1 34 2 66 2 23 2 46 2 13 2 70 2 34 2 79 1 13 1 75 2 69 1 39 1 16 2 34 2 13 2 75 1 77 2 77 2 68 2 42 2 76 2 45 2 20 2 27 1 36 2 42 1 26 2 72 2 65 1 1 2 4 1 12 2 16 2 20 2 62 2 76 1 78 1 75 2 3...
result:
ok AC
Test #53:
score: 0
Accepted
time: 173ms
memory: 12596kb
input:
80 .#..#.####..##.#..##...#.#..#.#.#...#.#####.#..##....#.####.#.####.##.#.#...#..# .#.#...#....#.##.###..#.###..#.#.#.#...####.#..#..##...####..##..##..#.##.#..### ...##.#..###...#....#..###..#.#..##.#.#..#.##.####....###..#.######....#.#..#### ...##..##...#.#...##...##.#.####.#...###..#...#####.##...
output:
Yes 511064 1 55 2 77 1 78 2 21 1 79 2 2 1 56 2 42 1 16 1 80 1 15 1 27 1 18 2 16 1 76 2 57 2 52 1 5 2 73 1 45 1 34 2 66 2 23 2 46 2 13 2 70 2 34 2 79 1 13 1 75 2 69 1 39 1 16 2 34 2 13 2 75 1 77 2 77 2 68 2 42 2 76 2 45 2 20 2 27 1 36 2 42 1 26 2 72 2 65 1 1 2 4 1 12 2 16 2 20 2 62 2 76 1 78 1 75 2 3...
result:
ok AC
Test #54:
score: 0
Accepted
time: 175ms
memory: 11752kb
input:
80 ####...####.#.#..####.....###...#.#.#......#..##.###.###.#.#.#...#..###.#...#..# #...#.#..#.###.#.#.####..###..#.#...#.##.#...##.#..##..#..##.#.####.#..##..##.#. #.########.###...#..##..##..######..#.#.#.###..##..#.#.#.###.#.###...#.####..### #.##.#.####..####.#..##.###.##.##......#..##....###.##...
output:
Yes 511220 1 55 2 77 1 78 2 21 1 79 2 2 1 56 2 42 1 16 1 80 1 15 1 27 1 18 2 16 1 76 2 57 2 52 1 5 2 73 1 45 1 34 2 66 2 23 2 46 2 13 2 70 2 34 2 79 1 13 1 75 2 69 1 39 1 16 2 34 2 13 2 75 1 77 2 77 2 68 2 42 2 76 2 45 2 20 2 27 1 36 2 42 1 26 2 72 2 65 1 1 2 4 1 12 2 16 2 20 2 62 2 76 1 78 1 75 2 3...
result:
ok AC
Test #55:
score: 0
Accepted
time: 187ms
memory: 13060kb
input:
80 #..#..........###.#...#.######..###...###..####.#..#.####.##.###..##....#..#.##. ###..##.#.#.###......#####...#.##.#.#..#.....###.#...##.#.##.#......#.#..###...# ####.##...#.###..###.####..#.#.###.####..#.##.###.#.#..##.##.##....##...#.#...## ##.#.#..#.###....##..####.#......#####....##.#.##.#.##...
output:
Yes 511706 1 72 2 5 2 19 2 77 2 73 2 65 1 80 2 47 1 72 2 46 1 72 1 54 1 53 2 2 2 28 1 21 2 75 1 3 1 72 2 61 1 18 2 37 2 78 1 73 2 36 1 72 1 70 1 51 2 1 1 41 1 61 2 27 2 47 1 53 2 66 2 27 2 19 1 41 2 5 2 28 1 48 2 57 2 51 2 7 2 72 2 66 2 30 1 76 1 3 2 70 1 20 2 67 1 39 2 58 2 56 1 46 1 17 2 35 1 61 1...
result:
ok AC
Test #56:
score: 0
Accepted
time: 181ms
memory: 12372kb
input:
80 .#..#...#...##...#....##.#.#.###....##.#.#..#.#.#......#####.#.##.#.#...#.###... #..######.##.####..####..##..#####.##.....#.##...###.##.##.#....#.######....###. #.#.#.##..##.#..#...##...###.#....#.######.#####....#.#..#.####..#....##..#...## #.#####.##.#.....#.##.###.#####.#########.####.##....#...
output:
Yes 509066 1 72 2 5 2 19 2 77 2 73 2 65 1 80 2 47 1 72 2 46 1 72 1 54 1 53 2 2 2 28 1 21 2 75 1 3 1 72 2 61 1 18 2 37 2 78 1 73 2 36 1 72 1 70 1 51 2 1 1 41 1 61 2 27 2 47 1 53 2 66 2 27 2 19 1 41 2 5 2 28 1 48 2 57 2 51 2 7 2 72 2 66 2 30 1 76 1 3 2 70 1 20 2 67 1 39 2 58 2 56 1 46 1 17 2 35 1 61 1...
result:
ok AC
Test #57:
score: 0
Accepted
time: 175ms
memory: 13284kb
input:
80 #.#.#....#.#.#......##.##..#.##...##.##..#######..#####..##.#....####.##.##.##.. ...####...#.###...#.#........#.##....#...##..##...#.#########..#.#...##....#.#.. ..#..#.###..#.#..###.##.###..##..####.#..##.#.##..#...#...##.....###.#....###.#. ##.######..#...###.##.####.#.#..##.#.##....#..#..#...#...
output:
Yes 511549 1 72 2 5 2 19 2 77 2 73 2 65 1 80 2 47 1 72 2 46 1 72 1 54 1 53 2 2 2 28 1 21 2 75 1 3 1 72 2 61 1 18 2 37 2 78 1 73 2 36 1 72 1 70 1 51 2 1 1 41 1 61 2 27 2 47 1 53 2 66 2 27 2 19 1 41 2 5 2 28 1 48 2 57 2 51 2 7 2 72 2 66 2 30 1 76 1 3 2 70 1 20 2 67 1 39 2 58 2 56 1 46 1 17 2 35 1 61 1...
result:
ok AC
Test #58:
score: 0
Accepted
time: 153ms
memory: 11648kb
input:
80 ...###.#.#..#....##.##....#.####.####..########.##..#####.##.#..##..##.#...#.#.# #.#.....#.##...#.##..#..#...#..###.###.########.##....#..##..#.#.#.#.##......... #..##...#.##.#.#.##...##.......###...##..#...##..####.####.##.##..#.##....#####. #.##..##..#.#.#..#..##.#...##.##.#.....#....#.#.##..#....
output:
Yes 511606 1 66 2 33 1 55 2 4 2 76 1 54 2 29 2 22 1 51 1 58 1 15 2 42 2 12 2 28 2 60 1 24 2 44 2 70 2 37 1 71 1 35 1 39 2 35 1 66 2 24 1 2 2 6 1 66 2 34 1 10 1 19 2 8 2 63 2 52 2 5 1 67 1 75 2 25 2 75 2 78 1 64 2 21 2 25 1 5 2 76 1 4 2 72 1 6 1 45 1 53 1 63 2 29 2 26 1 68 2 74 1 44 2 61 2 3 2 50 1 4...
result:
ok AC
Test #59:
score: 0
Accepted
time: 159ms
memory: 13540kb
input:
80 ###..#.#..#.#.#.#.##.####..##.##......###.##..##.#.#....####....###.#....###.#.# #######.#.##...##.....####.##...###..#.#..###..###.#..###.#.......#....#.#.#.... ###.#.#.##...#...##.....###.##.#...#..###.#...###.##.#.##..#.#..#.#....######..# #.#..##.#.######.#...##.#..#...#.#..#..#...#..##.#...#...
output:
Yes 510570 1 66 2 33 1 55 2 4 2 76 1 54 2 29 2 22 1 51 1 58 1 15 2 42 2 12 2 28 2 60 1 24 2 44 2 70 2 37 1 71 1 35 1 39 2 35 1 66 2 24 1 2 2 6 1 66 2 34 1 10 1 19 2 8 2 63 2 52 2 5 1 67 1 75 2 25 2 75 2 78 1 64 2 21 2 25 1 5 2 76 1 4 2 72 1 6 1 45 1 53 1 63 2 29 2 26 1 68 2 74 1 44 2 61 2 3 2 50 1 4...
result:
ok AC
Test #60:
score: 0
Accepted
time: 167ms
memory: 13168kb
input:
80 ##.##..##....#..#.#...#####....#.####....#.....#..####...#.##.#..#..#######..##. .######.####..#.#####.##.....#.####....#.###.....##.#.#.#....#.##.#.#.###.##.... ###.#..#.##.#.##.##.#.#.##.....##..#...#...#.#.##.#####.#....#..#..#.###.#.#.#.# #..#..##..#.##..#..#.###.#.###..#...####.##....####......
output:
Yes 511930 1 12 2 15 2 21 2 1 1 66 2 2 1 38 1 4 2 57 2 57 1 50 1 74 1 3 2 74 1 72 2 9 1 69 1 30 2 78 2 57 2 45 2 74 2 69 2 64 1 75 1 8 2 62 2 47 2 34 1 48 2 27 1 46 2 21 1 1 1 19 2 26 1 64 1 32 1 39 1 55 1 41 1 47 1 78 1 69 1 28 1 40 1 49 1 74 2 77 2 18 2 53 2 35 1 7 1 1 1 53 1 80 2 31 2 11 1 31 2 7...
result:
ok AC
Test #61:
score: 0
Accepted
time: 152ms
memory: 13148kb
input:
80 .#.##..####..#.#..#.##.##.##..#..#############..###.######.#.#..##.##....##.##.# ....#...##.#.####..#.##..#....#...#.#..##..##.###.######.###..#.#.####.#......#. ....##...###.#.#..#.#....#...#.#####..###.#.##...###.......#.####.####....#..##. ..###.#....##..#.#..#.#.##..###..#.##..##..#.####.#.##...
output:
Yes 509609 1 12 2 15 2 21 2 1 1 66 2 2 1 38 1 4 2 57 2 57 1 50 1 74 1 3 2 74 1 72 2 9 1 69 1 30 2 78 2 57 2 45 2 74 2 69 2 64 1 75 1 8 2 62 2 47 2 34 1 48 2 27 1 46 2 21 1 1 1 19 2 26 1 64 1 32 1 39 1 55 1 41 1 47 1 78 1 69 1 28 1 40 1 49 1 74 2 77 2 18 2 53 2 35 1 7 1 1 1 53 1 80 2 31 2 11 1 31 2 7...
result:
ok AC
Test #62:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
5 ...## ##... #.#.# #.#.# #.#.. ###.. ..### .#... .#.#. .#.##
output:
Yes 124 1 2 2 5 2 1 2 1 1 1 1 1 1 1 1 1 2 4 1 1 2 4 2 4 2 4 2 4 1 1 1 1 1 1 1 1 1 1 1 2 2 3 1 2 1 2 1 2 1 2 2 3 2 3 2 3 2 3 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 2 1 2 2 2 2 2 2 2 2 2 1 2 1 2 1 2 1 2 1 3 1 3 1 3 1 3 1 3 2 4 1 3 2 4 2 4 2 4 2 4 1 3 1 3 1 3 1 3 1 4 1 4 1 4 1 4 1 4 1 4 2 2 1 4 2 2 ...
result:
ok AC
Test #63:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
5 ###.# .#... #..#. #..## .#..# ...#. #.#.# .##.# .##.. #.##.
output:
Yes 102 1 2 2 5 2 1 2 1 1 1 2 2 1 3 1 1 2 4 1 1 1 1 1 1 1 1 2 4 2 4 2 4 2 4 1 1 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 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 2 1 1 2 1 2 1 2 1 2 1 2 1 3 1 3 1 3 1 3 2 2 1 3 1 3 1 3 1 3 2 2 2 2 2 2 2 2 1 3 1 3 2 4 1 5 1 5 1 5 1 5 2 3 ...
result:
ok AC
Test #64:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
5 ..##. ..#.# ..... #.... ....# #.... ..... .#... ..#.. .#.##
output:
Yes 81 1 2 1 1 1 1 1 1 1 1 2 4 1 1 2 4 2 4 2 4 2 4 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 2 1 1 2 2 2 2 2 2 2 2 1 1 1 2 1 2 1 2 1 2 1 2 1 2 2 1 1 2 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 3 1 3 1 3 1 3 2 1 1 3 1 3 1 3 1 3 2 1 2 1 2 1 2 1 1 3 1 3 2 1 1 5 1 5 2 3 1 5 1 5 1 5 1 5 2 3 2 3 2 3 2 3 1...
result:
ok AC
Test #65:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
5 .#... ..... .#.## ..... ..... ..... ..... ..##. ...#. #....
output:
Yes 51 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 2 1 2 1 2 1 1 1 1 4 2 5 1 4 1 4 1 4 1 4 2 5 2 5 2 5 2 5 1 4 1 4 1 4 1 4 1 4 2 2 1 4 1 4 1 4 1 4 1 4 2 3 1 4 2 3 2 3 2 3 2 3 1 4 1 4 1 4 1 4 2 2 2 2 2 2 2 2
result:
ok AC
Test #66:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
5 ...## ##.#. ..... #.#.# #.##. ...#. .#..# ###.# #..## .#...
output:
Yes 106 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 3 1 3 1 3 2 3 1 3 1 3 1 3 1 3 2 3 2 3 2 3 2 3 1 3 1 3 1 3 1 4 1 4 1 4 1 4 2 3 1 4 2 3 2 3 2 3 2 3 1 4 1 4 1 4 1 4 1 4 1 5 1 5 1 5 1 5 2 4 1 5 2 4 2 4 2 4 2 4 1 5 1 5 1 5 1 5 1 5 2 3 2 3 2 3 2 3 1 4 1 4 1 4 1 4 2 2 1 4 1 4 1 4 ...
result:
ok AC
Test #67:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
5 #.#.. ###.# .##.# .#... ..#.. #...# ##..# ....# #..## .##..
output:
Yes 101 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 2 2 2 2 2 2 2 1 1 1 2 1 2 1 2 1 2 1 2 2 5 1 2 2 5 2 5 2 5 2 5 1 2 1 2 1 2 1 2 2 3 1 3 1 3 1 3 1 3 1 3 1 3 2 5 1 3 2 5 2 5 2 5 2 5 1 3 1 3 1 3 2 3 2 3 2 3 2 3 1 4 1 4 1 4 2 3 1 4 1 4 1 4 1 4 2 3 2 3 2 3 2 3 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 ...
result:
ok AC
Test #68:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
6 ##.... ##.#.# .###.. #..#.# .###.. ##..#. ..#### ..#.#. #...## .##.#. #...## ..##.#
output:
Yes 205 1 2 2 5 2 1 2 5 1 2 2 6 1 4 1 4 2 3 2 1 1 4 1 4 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 6 1 1 2 6 2 6 2 6 2 6 2 6 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 6 1 2 2 6 2 6 2 6 2 6 2 6 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 5 1 2 2 5 2 5 2 5 2 5 2 5 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...
result:
ok AC
Test #69:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
6 .##.## ##.... ..#... .##.#. .##..# ###.## #..#.. ..#### ##.### #..#.# #..##. ...#..
output:
Yes 211 1 2 2 5 2 1 2 5 1 2 2 6 1 4 1 4 2 3 2 1 1 4 1 4 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 4 1 1 2 4 2 4 2 4 2 4 2 4 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 3 1 2 2 3 2 3 2 3 2 3 2 3 1 2 1 2 2 2 1 2 1 2 2 4 1 2 1 2 1 2 1 2 1 2 2 4 2 4 2 4 2 4 2 4 1 2 1 2 1 2 1 2 1 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok AC
Test #70:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
6 ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ......
output:
Yes 1 1 2
result:
ok AC
Test #71:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
6 ###..# ##.... ..#..# #.#.## .#.#.# .#.### ##.#.. ##..#. .##.#. .##... #.###. #.###.
output:
Yes 205 1 2 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 1 1 1 2 3 2 3 2 3 2 3 2 3 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 1 1 1 2 1 2 1 2 1 2 1 2 1 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 2 2 4 1 2 2 4 2 4 2 4 2 4 2 4 1 2 1 2 1 2 1 2 1 2 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 2 5 1 3 2 5 2 5 2 5 2 5 2 5 1 3 ...
result:
ok AC
Test #72:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
6 .#..#. #.#### ...### ##.... #.#### #.#... .##.#. .###.# #.##.# #.#... ###..# .##...
output:
Yes 127 1 2 1 2 1 2 1 2 1 2 2 3 1 2 1 2 1 2 1 2 1 2 2 3 2 3 2 3 2 3 2 3 1 2 1 2 1 2 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 2 1 1 3 2 1 2 1 2 1 2 1 2 1 1 3 1 3 1 3 1 3 1 3 1 3 2 3 1 3 1 3 1 3 1 3 1 3 2 3 2 3 2 3 2 3 2 3 1 3 1 3 1 3 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 2 1 1 4 2 1 2 1 2 1 2 1 2 1 1 4 ...
result:
ok AC
Test #73:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
6 .##### .##..# ##.##. ...... ##..## ....#. ...#.. ####.. .###.. ###.#. ..##.# ....##
output:
Yes 193 1 2 1 1 1 1 1 1 1 1 1 1 2 6 1 1 2 6 2 6 2 6 2 6 2 6 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 5 1 2 2 5 2 5 2 5 2 5 2 5 1 2 1 2 1 2 1 1 2 4 2 4 2 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 2 3 1 4 2 3 2 3 2 3 2 3 2 3 1 4 2 4 2 4 2 4 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 1 5 1 5 ...
result:
ok AC
Extra Test:
score: 0
Extra Test Passed