QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#658885 | #9478. Shift Puzzle | ucup-team1782# | AC ✓ | 20ms | 16024kb | C++14 | 5.7kb | 2024-10-19 17:50:58 | 2024-10-19 17:50:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 2ms
memory: 8388kb
input:
3 .#. #.# .#. #.# ... #.#
output:
Yes 4 1 3 2 1 2 3 1 1
result:
ok AC
Test #2:
score: 0
Accepted
time: 2ms
memory: 8340kb
input:
3 .#. #.# .#. .#. #.# .#.
output:
Yes 0
result:
ok AC
Test #3:
score: 0
Accepted
time: 1ms
memory: 7824kb
input:
13 ............. ....#####.... ......#...... ......#...... ......#...... ......#...... ............. ....#...#.... ....#...#.... ....#...#.... ....#...#.... .....###..... ............. ....####..... ....#...#.... ....####..... ....#........ ....#........ ............. .....###..... ....#...#.... ......
output:
No
result:
ok AC
Test #4:
score: 0
Accepted
time: 1ms
memory: 7876kb
input:
3 #.# #.# ### #.# .#. ###
output:
No
result:
ok AC
Test #5:
score: 0
Accepted
time: 0ms
memory: 8048kb
input:
4 .#.. .#.. .... ...# .... ..#. #... ....
output:
No
result:
ok AC
Test #6:
score: 0
Accepted
time: 0ms
memory: 7752kb
input:
4 .... .... .... .#.. ..## ##.# #### ..##
output:
No
result:
ok AC
Test #7:
score: 0
Accepted
time: 2ms
memory: 8200kb
input:
2 .. .. .. ..
output:
Yes 0
result:
ok AC
Test #8:
score: 0
Accepted
time: 2ms
memory: 8372kb
input:
3 .## ##. .#. ##. ..# .##
output:
Yes 4 1 1 1 2 2 2 2 3
result:
ok AC
Test #9:
score: 0
Accepted
time: 1ms
memory: 8248kb
input:
3 ... #.. ..# ... #.. #..
output:
Yes 1 1 3
result:
ok AC
Test #10:
score: 0
Accepted
time: 1ms
memory: 6536kb
input:
3 ..# .## ### #.# .## #.#
output:
Yes 2 2 1 1 3
result:
ok AC
Test #11:
score: 0
Accepted
time: 20ms
memory: 15800kb
input:
4 .... #... ...# #.#. #... .... .#.. .##.
output:
Yes 4 2 1 1 3 2 2 1 3
result:
ok AC
Test #12:
score: 0
Accepted
time: 20ms
memory: 16024kb
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: 7988kb
input:
2 .# .# #. #.
output:
Yes 2 1 1 1 2
result:
ok AC
Test #14:
score: 0
Accepted
time: 0ms
memory: 8260kb
input:
3 ##. .## ... ... #.. ###
output:
Yes 4 2 2 1 2 2 1 2 3
result:
ok AC
Test #15:
score: 0
Accepted
time: 0ms
memory: 8252kb
input:
3 .#. ##. .#. #.# ..# #..
output:
Yes 5 1 1 2 1 1 2 2 2 1 1
result:
ok AC
Test #16:
score: 0
Accepted
time: 1ms
memory: 6824kb
input:
3 #.# #.. #.. .#. .## .#.
output:
Yes 4 1 2 1 3 2 3 1 1
result:
ok AC
Test #17:
score: 0
Accepted
time: 16ms
memory: 14800kb
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: 17ms
memory: 15204kb
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: 1ms
memory: 8024kb
input:
19 .######.######..### ...###.##.###.##### .#.####..#.##...### .#####.##.######.## .##.#############.. .#.....##..#.##.#.# #####.###..#.###.## #.####.#...##..#.## .######.##.##..#### .#.###.###.###..### #######.###.#..###. #####.###.####.##.# ..#.######..###..#. #.#.#..####..###.#. ########.####..##...
output:
No
result:
ok AC
Test #20:
score: 0
Accepted
time: 1ms
memory: 7864kb
input:
21 ##################### ##################### ##################### ##################### ##################### ##################### ##################### #########.########### ##################### ##################### ##################### ##################### ##################### ###########...
output:
No
result:
ok AC
Test #21:
score: 0
Accepted
time: 1ms
memory: 6096kb
input:
26 ##.###....#######.....#... .#.##.#####..#..#..###.### .#.#####.##.##.#.#.##.#..# ###.###...##...#.#....#.#. .##..###..#.##.#.##..#.#.# #..##...##.#...####...#### ##.#..###.#.####...###.... .##..#..##.##..#.##...#.## ####.###..#.#####..#####.. .#.#.##..###.###..###.#### ##.##.#..#..#....###..###. ...
output:
No
result:
ok AC
Test #22:
score: 0
Accepted
time: 2ms
memory: 9940kb
input:
35 ####.##.###.####..##.############## ####.####.##############.######.### ###########..######.###.######.###. #.#.####.##.#####...############### ################.#####.############ #######...#.####.###..######.###### #.##.#############.####.######.#.## ##..####.####.##################### #####.##....
output:
Yes 5421 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:
ok AC
Test #23:
score: 0
Accepted
time: 2ms
memory: 10228kb
input:
34 .........#.................#...... ...#.#............................ ..........#.............#......... .................................# .......#.......................... .................................. .......................#.......... .................#................ ....................
output:
Yes 3949 1 27 1 27 1 27 1 27 1 27 1 4 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 1 2 34 1 ...
result:
ok AC
Test #24:
score: 0
Accepted
time: 2ms
memory: 10228kb
input:
23 ####.####.#.#.######### ..####.##.##.###.###### #.###...#.#.###.###.### ###.#####.####..####### #.#...##.######..#.#.## .####.##.###########..# ##.#....##..###.#.#..## ##.#.####...##.###..#.# ##.###..###########.### ###.###..###.#.#.#.##.# #.####.###..##.#####..# ###.######.##.####..#.# .###.####...
output:
Yes 2415 1 21 1 20 1 18 1 17 1 17 1 16 1 14 1 13 1 10 1 8 1 6 1 4 1 4 1 4 1 4 1 4 1 4 1 4 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2 23 1 1 2...
result:
ok AC
Test #25:
score: 0
Accepted
time: 0ms
memory: 10228kb
input:
20 #....###......##...# .......##...#...#..# ......#.....#.#..... ..#....##.#..#.#.... #..#...#.#...##.#... ...#...#...##.....#. #####.#........#.... ....##...#.#..#..... .#.#........#....#.. .#.#.###...#........ #.....#..##.##...... ##....##..#......... .#.#..............#. #..............#..#. ##....
output:
Yes 1780 1 1 1 18 1 16 1 16 1 15 1 14 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 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 1 1 2 20 ...
result:
ok AC
Test #26:
score: 0
Accepted
time: 2ms
memory: 10156kb
input:
12 ##..#....... .#.##.###.#. ##.#..#.#### ##.###..###. .#.#.##.#.## ##.###.#...# #..###..#### ..####.##### #.#.##.##.#. .#.##.####.. .#.....##### ###.#..##.#. .##.#######. ..###.#.#### #.###...##.. .#...##.#.## .#.######### #...##.#.##. .##.##...##. ..####.#.### ...#.####### ..#.......#. ..#.#..##.#...
output:
Yes 728 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12 1 10 1 10 1 9 1 6 1 4 1 3 1 3 1 3 1 3 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 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 2 12 1 1 1 2 2 12 1 2 1 2 2 12 1 2 1 12 1 12 1 11 1 11 1 11 1 11 1 11 1 9 1 ...
result:
ok AC
Test #27:
score: 0
Accepted
time: 3ms
memory: 10128kb
input:
44 ###...##.#....##.#####.##.##...####.##....## #.#...##..#.#.##..#.###.......####..#..#..#. ..#.########..##.#.....##.....#..##...#.#.#. #.#.##.#.#.#.#....#.#.######.#....#......### #.#.#.##...##.#..#.#..#######.#.###..###.### ###..#...#...#........##..#...#.##..#..#..## ..##.#..#..#####......#..##...
output:
Yes 9565 1 1 1 1 1 42 1 42 1 42 1 42 1 41 1 40 1 39 1 39 1 39 1 39 1 38 1 37 1 36 1 36 1 33 1 31 1 31 1 30 1 30 1 30 1 29 1 26 1 25 1 20 1 20 1 17 1 13 1 9 1 9 1 8 1 8 1 7 1 5 1 5 1 5 1 4 1 4 1 4 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44...
result:
ok AC
Test #28:
score: 0
Accepted
time: 0ms
memory: 10156kb
input:
10 ##...#.#.# ###....### #####.#... ....#....# ....#..##. .#.#..##.# ##.##.#... #..#..##.# ##..#.#.#. ######.#.# ..###.#.#. ...####... .....#.### ####.####. ####.##..# #.#.##..#. ..#..#.### .##.##..#. ..##.#.#.# ......#.#.
output:
Yes 430 1 10 1 9 1 8 1 7 1 7 1 7 1 5 1 4 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 1 2 1 2 1 2 2 10 1 2 1 10 1 8 1 7 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 1 2 2 10 1 2 2 10 1 2 2 10 1 2 2 10 1 2 2 10 1 2 2 10 ...
result:
ok AC
Test #29:
score: 0
Accepted
time: 3ms
memory: 10136kb
input:
44 ..#.#.###.#.....#...#.#####.....#....#.#.... ####.....#..##...##..#.####.#.#..#..#..##### #.###.##########.##.#####..#####.#.##....#.# #..#.##.##..###..#...#.....###.##..##.#.##.. .####.#..##.###.#.###....#..#..######...#.#. ##...#.#.##.##..#.##.####.###.#..#####.#.### .#..####...##.####.....##.....
output:
Yes 9138 1 1 1 1 1 1 1 1 1 44 1 43 1 41 1 40 1 39 1 37 1 37 1 37 1 37 1 35 1 33 1 32 1 32 1 30 1 30 1 28 1 26 1 26 1 24 1 22 1 20 1 18 1 18 1 18 1 18 1 17 1 17 1 17 1 17 1 17 1 13 1 12 1 10 1 9 1 9 1 7 1 7 1 4 1 4 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2 44 2...
result:
ok AC
Test #30:
score: 0
Accepted
time: 2ms
memory: 9932kb
input:
10 ###..#...# #.##.##..# #..#..##.# ..#..###.. #..###...# .##.##.##. .##..##... #.###.##.. .#####.... .#...#.#.# ...##.###. .#..#..##. .##.##..#. ##.##...## .##...###. #..#..#..# #..##..### .#...#..## #.....#### #.###.#.#.
output:
Yes 455 1 9 1 9 1 9 1 9 1 7 1 7 1 7 1 6 1 5 1 3 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 2 10 1 1 1 10 1 8 1 8 1 6 1 6 1 5 1 5 1 5 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 2 10 1 2 2 10 1 2 2 10 1 2 2 10 1 2 2 10 1 2 2 1...
result:
ok AC
Test #31:
score: 0
Accepted
time: 0ms
memory: 9956kb
input:
30 ..#.#..#....##.#..###...##.#.. ..###...#####.#..##.##......## ..###.#.####.....#...##..##.#. #.#....####.#..##...##..###..# #.##.#.........#.##.#.##...... #.##......##..#.######..##..## ###..#.##..##...#####.##..##.# #####.#..#...###.....##..#.#.# ##..#.####.####....####......# ##.#..####.#..##.....
output:
Yes 4524 1 1 1 1 1 29 1 23 1 22 1 22 1 22 1 21 1 21 1 20 1 20 1 19 1 19 1 17 1 15 1 12 1 12 1 11 1 11 1 7 1 3 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 2 30 1 1 2 30 1 1 2 30 1 1 2 30 1 1 2 30 1 1 ...
result:
ok AC
Test #32:
score: 0
Accepted
time: 0ms
memory: 9856kb
input:
79 ###########.#####.#.###################################################.######. #####.#########.##.###.##.#.######.############.####.##.###########.##..####### #########.##..########.###.###.##########..################.#########.####.###. #####.####..##.#####.#.###.######.######################....
output:
Yes 26820 1 1 1 78 1 68 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 60 1 60 1 60 1 60 1 60 1 60 1 60 1 60 1 60 1 60 1 59 1 59 1 59 1 57 1 51 1 51 1 51 1 49 1 46 1 46 1 46 1 39 1 37 1 35 1 35 1 35 1 35 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 34 1 33 1...
result:
ok AC
Test #33:
score: 0
Accepted
time: 0ms
memory: 9940kb
input:
79 ..........##...............#..#.#...#...#.....##............................... ..#...#......#.........#..##...#.#....##.##.........##.#...#...#......#..##.... .##....#.........#........#...............#....#......#.......#....#..#....#... ...#...##...##...#...#.#.....................#.#............
output:
Yes 27440 1 67 1 67 1 67 1 65 1 65 1 65 1 65 1 65 1 63 1 63 1 61 1 61 1 61 1 61 1 61 1 61 1 61 1 58 1 58 1 58 1 57 1 55 1 44 1 39 1 33 1 33 1 33 1 32 1 29 1 29 1 29 1 29 1 29 1 29 1 29 1 22 1 20 1 17 1 17 1 16 1 15 1 9 1 7 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1...
result:
ok AC
Test #34:
score: 0
Accepted
time: 5ms
memory: 10296kb
input:
79 .......#..##.#.........#....#....#..#..#.........#.#...........#............... ..#.................#............#...........................#........#.#....#. #........................#........#........#..................#..##...........# ....#...##.................#......##........................
output:
Yes 27798 1 76 1 72 1 67 1 67 1 67 1 67 1 67 1 67 1 67 1 67 1 67 1 67 1 66 1 66 1 66 1 58 1 54 1 43 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 39 1 38 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 31 1 26 1 26 1 24 1 17 1 14 1 10 1 10 1 10 1 10 1 10 ...
result:
ok AC
Test #35:
score: 0
Accepted
time: 4ms
memory: 10160kb
input:
79 ....................#.......................................................... .............#..#..#.........#............#...............................#.... .......................................................#....................... .........................#....#......................#.#....
output:
Yes 25208 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 72 1 41 1 35 1 30 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 2 79 ...
result:
ok AC
Test #36:
score: 0
Accepted
time: 0ms
memory: 9932kb
input:
79 ...#####...######.#####.###...####.#.##.#.#....#..##..########.##.##.#.####..## .##..##.####.#####.##.#######.####..#####..#..#.#####.#...####.#######.#..###.# #..####.#.#####.###.####..##..##.#.#####..#.###..#..#....#.####..###.##.###.#.# .##.####.####..######.###..##.#########.#.##.##.#####.......
output:
Yes 30340 1 79 1 79 1 74 1 74 1 74 1 74 1 73 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 72 1 70 1 65 1 64 1 63 1 63 1 63 1 61 1 60 1 60 1 59 1 59 1 59 1 59 1 59 1 57 1 57 1 57 1 57 1 57 1 57 1 57 1 52 1 50 1 49 1 49 1 47 1 47 1 46 1 45 1 45 1 44 1 42 1 41 1 41 1 38 1 36 1 32 ...
result:
ok AC
Test #37:
score: 0
Accepted
time: 5ms
memory: 10000kb
input:
79 ######.#####.##.....#..##.##.##.##.###.#####..#####.#.#######.##.#.###.#.###.#. ...#.....##.....#...#...#.####....#.#.#.######..#..####.#.#######.###..###.###. .#.#....##.....##.###.#####...#......#.#..#.#..###.#######.#.##...##..###.#..#. .##.#.#..##.#...###.##....##......#..#....##.##.#.#.#...#...
output:
Yes 30074 1 79 1 79 1 76 1 76 1 76 1 76 1 76 1 76 1 72 1 67 1 67 1 67 1 66 1 66 1 66 1 63 1 62 1 62 1 62 1 61 1 60 1 59 1 52 1 49 1 48 1 47 1 47 1 46 1 45 1 42 1 42 1 42 1 37 1 37 1 37 1 33 1 33 1 32 1 32 1 29 1 27 1 27 1 27 1 25 1 25 1 25 1 24 1 23 1 23 1 23 1 23 1 23 1 23 1 20 1 17 1 17 1 13 1 12 ...
result:
ok AC
Test #38:
score: 0
Accepted
time: 2ms
memory: 9856kb
input:
79 ..#.#..###.##.#.#.####.#.##.#..#....#...#######.#...#...#....#####..##..##.#### #.#..####.#.#.#..#..#.#....##...#.#..#..#.###.#.#.#.#.....####.####.#..#.#.###. #...#...#.##.#..##.#####.#.#####.......#######...###.#.#...#.###.####.####..##. #.##.#..#......##...#.##..#..###.##..#..###..#.##.....##....
output:
Yes 30590 1 1 1 1 1 1 1 1 1 78 1 78 1 77 1 76 1 74 1 69 1 68 1 68 1 67 1 65 1 64 1 60 1 60 1 57 1 56 1 56 1 53 1 50 1 44 1 44 1 43 1 42 1 40 1 40 1 39 1 38 1 38 1 34 1 33 1 32 1 29 1 29 1 29 1 29 1 28 1 27 1 25 1 23 1 21 1 20 1 19 1 19 1 18 1 17 1 14 1 13 1 12 1 12 1 11 1 11 1 9 1 9 1 9 1 9 1 7 1 7 ...
result:
ok AC
Test #39:
score: 0
Accepted
time: 0ms
memory: 10132kb
input:
79 ....#.#.##..#.#...........########..#..#..###########.###..#..####.#.###.#..... .#..#...#...#.#####.#..##.#.#.#.#...#.##.##.#..##..##########....##.###.####.## ..###..#..###.....#..##..#.....##..##.###....##..####..##..##..#####.#####....# #.#######..###..###.##.#.#..###########.##..#....#.#.#..#...
output:
Yes 30735 1 1 1 1 1 1 1 1 1 1 1 79 1 78 1 78 1 77 1 77 1 76 1 67 1 67 1 65 1 65 1 64 1 63 1 63 1 62 1 58 1 58 1 56 1 56 1 55 1 54 1 54 1 53 1 52 1 52 1 52 1 52 1 50 1 50 1 49 1 47 1 46 1 46 1 45 1 43 1 41 1 40 1 39 1 36 1 35 1 35 1 32 1 31 1 30 1 30 1 30 1 30 1 30 1 29 1 26 1 26 1 26 1 26 1 26 1 24 ...
result:
ok AC
Test #40:
score: 0
Accepted
time: 5ms
memory: 9948kb
input:
79 ###..#.#.#...##.##.###...#.####.####...#....#..#...###...#.#..#...#.#.#.##..#.. #####.###....#.#....#.####...#..###..#..#.##.##...#.###..#.#...####.####....#.. ##.....#####.#..#.....#.#.#..#.#..#.############..#.#.#...#....#.###.#...##.##. #.#...#.########..##....#####...##...#.#.#.#..#.#...##......
output:
Yes 29766 1 1 1 1 1 79 1 76 1 75 1 75 1 75 1 74 1 74 1 73 1 72 1 72 1 70 1 69 1 67 1 56 1 56 1 54 1 54 1 53 1 49 1 48 1 46 1 46 1 46 1 46 1 46 1 46 1 46 1 45 1 45 1 45 1 43 1 42 1 40 1 40 1 40 1 39 1 38 1 38 1 31 1 31 1 31 1 30 1 28 1 27 1 26 1 25 1 22 1 22 1 22 1 22 1 22 1 22 1 20 1 19 1 17 1 17 1 ...
result:
ok AC
Test #41:
score: 0
Accepted
time: 2ms
memory: 9864kb
input:
79 .....###.##.#.#....####.#.###..#.###..#.##...###.##..#.##.#.####......#.###.#.. ###.##..###.######.#.##..####.#####.#.#.####..#.##..######..#...#.##....###...# #...##.####.#..#####..#####.##.#...####.#...####..##.##.#..####....#...#....### ####..###..#.##.......#...#..##.####.##.###...#####.#..#....
output:
Yes 30524 1 1 1 1 1 79 1 79 1 79 1 79 1 78 1 77 1 75 1 75 1 75 1 74 1 72 1 63 1 63 1 62 1 62 1 61 1 60 1 58 1 56 1 55 1 53 1 53 1 53 1 52 1 51 1 50 1 48 1 46 1 45 1 45 1 45 1 45 1 44 1 41 1 41 1 41 1 41 1 41 1 39 1 38 1 38 1 38 1 36 1 33 1 32 1 31 1 31 1 29 1 29 1 29 1 25 1 21 1 20 1 19 1 15 1 14 1 ...
result:
ok AC
Test #42:
score: 0
Accepted
time: 2ms
memory: 10384kb
input:
79 ..##.##.#..#.#.#.#..##.#.....#.#####...####.####..###..##..#....##.#.#...#....# .###.#.####.###.###..#.#.#.#...#.#####...##..#.##..##..#.####..###.#.##.#.#.### .##..###..##....#.#..#.#.##.#.##.###..#####.#..#.#.##.####...##....#.###..###.. #..##..###.#.###.###.##.######.#.#........##...##.##..#.#...
output:
Yes 30487 1 79 1 78 1 78 1 77 1 73 1 73 1 72 1 72 1 72 1 71 1 70 1 69 1 67 1 64 1 64 1 64 1 64 1 63 1 63 1 62 1 62 1 62 1 61 1 61 1 61 1 55 1 55 1 52 1 52 1 51 1 51 1 51 1 51 1 50 1 50 1 50 1 50 1 50 1 50 1 50 1 50 1 50 1 44 1 44 1 41 1 41 1 38 1 38 1 37 1 34 1 32 1 27 1 27 1 26 1 21 1 20 1 19 1 16 ...
result:
ok AC
Test #43:
score: 0
Accepted
time: 5ms
memory: 10660kb
input:
79 ...##...#..##......##..##....###....#.##..##.##.##..#.#..#.#..##...#........#.. ####.#.#.#.#.###....#..#.##.....#.#.###.#.#.#.#...#.#####..##..###.##.#.####### ..#.#.#...#####.#####.#.##..#.#.#..###.##...##.#.#..#...#####.###..##...##..### .#....#...#..##......#..##....#..##.#..#.##.###..##...#.#...
output:
Yes 31223 1 1 1 1 1 77 1 75 1 75 1 73 1 73 1 72 1 72 1 71 1 71 1 71 1 71 1 70 1 67 1 67 1 65 1 65 1 63 1 61 1 58 1 58 1 58 1 56 1 55 1 55 1 54 1 54 1 53 1 51 1 50 1 50 1 49 1 49 1 49 1 49 1 48 1 48 1 42 1 41 1 41 1 41 1 41 1 41 1 39 1 39 1 39 1 38 1 37 1 37 1 37 1 37 1 37 1 36 1 33 1 28 1 27 1 27 1 ...
result:
ok AC
Test #44:
score: 0
Accepted
time: 5ms
memory: 10220kb
input:
79 #....#.##.###.....##.#####.#.#..##..#.######.#.###.#.######.#.##.#......#..#.## .###.##.##......#..###.#.#....#....##.###.#.###.#......#...##..##..##...#.##... .##.#..##...##...#.#....#...#...##..#.#.#.#...#.#.##...#.###..##.#####..#.##### ..###..#.###......#..#...###..#......###..##.....####..##...
output:
Yes 30053 1 1 1 1 1 79 1 78 1 78 1 78 1 78 1 78 1 78 1 77 1 77 1 77 1 77 1 71 1 71 1 71 1 70 1 70 1 70 1 70 1 70 1 66 1 66 1 66 1 61 1 60 1 60 1 60 1 59 1 59 1 59 1 59 1 59 1 59 1 56 1 55 1 53 1 52 1 52 1 52 1 51 1 50 1 49 1 48 1 45 1 45 1 45 1 45 1 45 1 44 1 44 1 44 1 44 1 41 1 41 1 41 1 39 1 38 1 ...
result:
ok AC
Test #45:
score: 0
Accepted
time: 2ms
memory: 10160kb
input:
79 ...#..####..##.#.#..#.....#..#.####...#.#..#.#....#..#..#.###.#####...#....#.## ..##......##.#.##..#.#.###..####.#.##.#.......##..##.....#.#.#####....#..###.#. #..#.##.#.#.##..##.####..########.##.#.#..####.#####.##.######.##.#..####..##.# ##...#....##....####.#.#.#..#...##########.###.###.#..###...
output:
Yes 31354 1 1 1 1 1 79 1 79 1 77 1 76 1 72 1 68 1 68 1 68 1 68 1 68 1 68 1 67 1 66 1 66 1 66 1 66 1 65 1 64 1 63 1 63 1 63 1 63 1 63 1 56 1 56 1 56 1 56 1 52 1 52 1 52 1 51 1 51 1 50 1 49 1 48 1 47 1 47 1 42 1 39 1 38 1 36 1 35 1 34 1 34 1 33 1 32 1 32 1 32 1 30 1 28 1 26 1 26 1 26 1 25 1 23 1 20 1 ...
result:
ok AC
Test #46:
score: 0
Accepted
time: 2ms
memory: 10116kb
input:
79 #...##..#.##..#.#.###..##.###.#####..#.#...###......#..#...#..######.#.#..#.#.# #..#.##...#.###.#..#...#####.#.#.#...##..##.###..###..####..#.#.#..####.##.#..# ###..#.##..##.###..###.#.##..#..##....##.#..####.##.##..###..#..#.....#..#.##.. .#.#.....##...#.##..###.##.##.##..#..###.##...#.#.#####.#...
output:
Yes 31016 1 79 1 79 1 79 1 78 1 78 1 75 1 73 1 72 1 72 1 70 1 70 1 69 1 68 1 67 1 64 1 64 1 64 1 63 1 62 1 62 1 62 1 62 1 60 1 60 1 57 1 56 1 56 1 56 1 53 1 53 1 53 1 52 1 48 1 44 1 44 1 44 1 44 1 43 1 42 1 42 1 42 1 42 1 42 1 41 1 38 1 38 1 36 1 36 1 35 1 34 1 34 1 31 1 31 1 31 1 30 1 30 1 30 1 25 ...
result:
ok AC
Test #47:
score: 0
Accepted
time: 0ms
memory: 10168kb
input:
80 ##..#..#.#.##.######.####.##...#..#####.#..#.#####.##...#.####.##.##.#.#...#.#.. #.###.#.#.#...#.#...#.#.#.###....#.##.###..#....##.####.##.#####.####.##.##..#.. .###.##.###.##.####..#####..#####.###.#####.##....##.#.#.#..#####.#...###.#.##.# #.###.###..##.#.##.##...###.#.####...##.###.#...##.#.#...
output:
Yes 30479 1 77 1 77 1 77 1 77 1 76 1 75 1 71 1 70 1 69 1 66 1 66 1 65 1 65 1 60 1 58 1 58 1 58 1 58 1 54 1 53 1 53 1 52 1 52 1 51 1 51 1 51 1 51 1 51 1 51 1 51 1 51 1 48 1 48 1 48 1 46 1 45 1 43 1 42 1 42 1 42 1 42 1 40 1 40 1 40 1 39 1 39 1 39 1 38 1 35 1 33 1 32 1 32 1 32 1 30 1 29 1 29 1 27 1 26 ...
result:
ok AC
Test #48:
score: 0
Accepted
time: 5ms
memory: 9868kb
input:
80 .....#.##...#.#.###.......#..#.#...#..###.#.#..#..#.#...###......####..#.#.#..## ##..##...#.....##.#....###.#..#......###.#...#.##.....#.#.##..##...#....#....... #.#.#..#.#.##..........#..............##..#.#..###.##..#.###...#......#.#...##.. ....#...##.##.#.#.......#...#.#.##.#...#.###..#.#...##...
output:
Yes 31731 1 1 1 1 1 79 1 76 1 76 1 76 1 76 1 76 1 74 1 74 1 72 1 71 1 70 1 69 1 69 1 69 1 68 1 67 1 62 1 62 1 61 1 57 1 56 1 55 1 55 1 55 1 55 1 55 1 55 1 55 1 55 1 55 1 54 1 54 1 54 1 51 1 47 1 46 1 46 1 45 1 44 1 42 1 39 1 38 1 36 1 33 1 33 1 31 1 28 1 28 1 28 1 28 1 26 1 22 1 21 1 21 1 20 1 20 1 ...
result:
ok AC
Test #49:
score: 0
Accepted
time: 2ms
memory: 10128kb
input:
80 ###..####..############.########.########.###.########.#####.###.##.######..#### .#####.#.#####.###.######.###..##.################.###.#.####################### ########.#####.######..##.##.####.#.#####.#.#.###..#########...######.##.####### ##.############.#..#.##..########.####..####..#.######...
output:
Yes 28126 1 79 1 79 1 79 1 79 1 79 1 79 1 79 1 79 1 77 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 73 1 71 1 71 1 71 1 71 1 71 1 71 1 71 1 71 1 71 1 68 1 65 1 65 1 65 1 65 1 65 1 65 1 65 1 65 1 65 1 64 1 64 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 62 1 61 ...
result:
ok AC
Test #50:
score: 0
Accepted
time: 5ms
memory: 9868kb
input:
80 #.###.##..#..##############.#.###..#######.#####.####.###.######...######.###### #.##...#.####.#.###..#.#####.####.#.#.######.#####.#...###.##..##.#.####.##..### #####################.#..#####.######.###.####.##############.####.###.##.##.#.# ##.##.#.###.##..#####.###########.##.#.#.#.##..#.###.#...
output:
Yes 30169 1 80 1 80 1 79 1 78 1 75 1 75 1 74 1 74 1 74 1 74 1 72 1 72 1 67 1 66 1 66 1 66 1 65 1 65 1 65 1 65 1 65 1 65 1 64 1 63 1 63 1 61 1 59 1 58 1 58 1 57 1 57 1 54 1 54 1 51 1 51 1 50 1 50 1 49 1 49 1 37 1 36 1 36 1 24 1 23 1 23 1 21 1 21 1 21 1 21 1 21 1 21 1 21 1 15 1 13 1 9 1 9 1 9 1 9 1 9 ...
result:
ok AC
Test #51:
score: 0
Accepted
time: 5ms
memory: 9852kb
input:
80 #####..##.###..###..##.#......#..####.##.####.#####.##.####.###.###..#..#.####.. ####...######.#####.##.######..#####..####..#######.#..###########.#..##..#.#### .#..#..##..##..#..#.#.#####..##.#######.##.###..####.###.###..#.#.###.#######.## .#.###.########..###.#.#.#####.###..##...####..#..###....
output:
Yes 28554 1 1 1 1 1 80 1 80 1 79 1 78 1 78 1 78 1 78 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 75 1 67 1 67 1 64 1 62 1 62 1 62 1 60 1 60 1 55 1 55 1 55 1 55 1 50 1 50 1 50 1 50 1 48 1 45 1 44 1 44 1 43 1 41 1 39 1 35 1 35 1 34 1 33 1 32 1 26 1 26 1 26 1 26 1 26 1 25 1 18 1 15 1 12 1 ...
result:
ok AC
Test #52:
score: 0
Accepted
time: 0ms
memory: 9972kb
input:
80 ##.#..#####...####.#.....#.#.#....##...#.....##...##....#..##....###.....#.##.#. ##.#...#..##.#####...#..#.......#..#..#.###.###########.###.#.##.##.##.########. ...##.##.#..###...###.#.###.#.##.#####..#.....##.####..##.#.####.#######.###.### ....#.##..#.##...##..##.##....#.#...###.#.##..##.##......
output:
Yes 31578 1 79 1 79 1 78 1 78 1 78 1 77 1 76 1 76 1 76 1 75 1 73 1 73 1 70 1 69 1 67 1 67 1 66 1 65 1 64 1 60 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 59 1 58 1 58 1 57 1 56 1 55 1 55 1 52 1 50 1 50 1 50 1 50 1 50 1 46 1 45 1 44 1 44 1 43 1 43 1 39 1 39 1 38 1 35 1 35 1 33 1 33 1 33 ...
result:
ok AC
Test #53:
score: 0
Accepted
time: 5ms
memory: 10108kb
input:
80 .#..#.####..##.#..##...#.#..#.#.#...#.#####.#..##....#.####.#.####.##.#.#...#..# .#.#...#....#.##.###..#.###..#.#.#.#...####.#..#..##...####..##..##..#.##.#..### ...##.#..###...#....#..###..#.#..##.#.#..#.##.####....###..#.######....#.#..#### ...##..##...#.#...##...##.#.####.#...###..#...#####.##...
output:
Yes 30574 1 79 1 79 1 79 1 79 1 78 1 76 1 75 1 75 1 73 1 72 1 69 1 69 1 66 1 65 1 65 1 64 1 62 1 57 1 55 1 54 1 53 1 53 1 53 1 53 1 51 1 51 1 51 1 50 1 50 1 50 1 49 1 49 1 49 1 49 1 47 1 47 1 47 1 46 1 43 1 43 1 43 1 40 1 38 1 35 1 34 1 33 1 33 1 31 1 31 1 31 1 31 1 27 1 26 1 26 1 26 1 26 1 23 1 23 ...
result:
ok AC
Test #54:
score: 0
Accepted
time: 5ms
memory: 9856kb
input:
80 ####...####.#.#..####.....###...#.#.#......#..##.###.###.#.#.#...#..###.#...#..# #...#.#..#.###.#.#.####..###..#.#...#.##.#...##.#..##..#..##.#.####.#..##..##.#. #.########.###...#..##..##..######..#.#.#.###..##..#.#.#.###.#.###...#.####..### #.##.#.####..####.#..##.###.##.##......#..##....###.##...
output:
Yes 32168 1 78 1 78 1 78 1 78 1 78 1 76 1 75 1 75 1 73 1 73 1 72 1 72 1 70 1 69 1 69 1 69 1 69 1 69 1 64 1 63 1 62 1 62 1 62 1 62 1 61 1 60 1 57 1 54 1 53 1 52 1 51 1 51 1 51 1 51 1 49 1 48 1 48 1 47 1 47 1 46 1 38 1 38 1 38 1 38 1 38 1 36 1 35 1 33 1 33 1 33 1 33 1 31 1 29 1 28 1 27 1 25 1 25 1 25 ...
result:
ok AC
Test #55:
score: 0
Accepted
time: 2ms
memory: 10128kb
input:
80 #..#..........###.#...#.######..###...###..####.#..#.####.##.###..##....#..#.##. ###..##.#.#.###......#####...#.##.#.#..#.....###.#...##.#.##.#......#.#..###...# ####.##...#.###..###.####..#.#.###.####..#.##.###.#.#..##.##.##....##...#.#...## ##.#.#..#.###....##..####.#......#####....##.#.##.#.##...
output:
Yes 31271 1 79 1 79 1 77 1 76 1 76 1 74 1 74 1 74 1 74 1 69 1 64 1 59 1 54 1 51 1 51 1 50 1 50 1 46 1 46 1 44 1 44 1 43 1 43 1 43 1 41 1 41 1 41 1 41 1 39 1 38 1 37 1 35 1 34 1 32 1 32 1 30 1 28 1 28 1 28 1 28 1 28 1 28 1 27 1 27 1 27 1 27 1 21 1 20 1 20 1 19 1 19 1 19 1 18 1 18 1 18 1 18 1 18 1 18 ...
result:
ok AC
Test #56:
score: 0
Accepted
time: 0ms
memory: 9864kb
input:
80 .#..#...#...##...#....##.#.#.###....##.#.#..#.#.#......#####.#.##.#.#...#.###... #..######.##.####..####..##..#####.##.....#.##...###.##.##.#....#.######....###. #.#.#.##..##.#..#...##...###.#....#.######.#####....#.#..#.####..#....##..#...## #.#####.##.#.....#.##.###.#####.#########.####.##....#...
output:
Yes 31751 1 1 1 1 1 1 1 80 1 80 1 80 1 80 1 79 1 76 1 76 1 73 1 73 1 72 1 72 1 72 1 72 1 72 1 72 1 70 1 70 1 70 1 69 1 69 1 69 1 69 1 69 1 69 1 66 1 66 1 64 1 64 1 62 1 60 1 58 1 56 1 56 1 56 1 56 1 53 1 53 1 52 1 50 1 49 1 47 1 47 1 45 1 44 1 43 1 42 1 41 1 38 1 38 1 35 1 35 1 35 1 34 1 33 1 33 1 3...
result:
ok AC
Test #57:
score: 0
Accepted
time: 0ms
memory: 10004kb
input:
80 #.#.#....#.#.#......##.##..#.##...##.##..#######..#####..##.#....####.##.##.##.. ...####...#.###...#.#........#.##....#...##..##...#.#########..#.#...##....#.#.. ..#..#.###..#.#..###.##.###..##..####.#..##.#.##..#...#...##.....###.#....###.#. ##.######..#...###.##.####.#.#..##.#.##....#..#..#...#...
output:
Yes 31177 1 1 1 1 1 79 1 79 1 79 1 79 1 79 1 79 1 78 1 78 1 78 1 78 1 78 1 76 1 75 1 73 1 73 1 73 1 72 1 69 1 68 1 66 1 66 1 66 1 66 1 65 1 62 1 61 1 60 1 59 1 59 1 59 1 56 1 56 1 56 1 54 1 54 1 49 1 49 1 49 1 46 1 46 1 44 1 44 1 43 1 42 1 42 1 42 1 41 1 40 1 40 1 38 1 37 1 37 1 36 1 36 1 35 1 34 1 ...
result:
ok AC
Test #58:
score: 0
Accepted
time: 5ms
memory: 10240kb
input:
80 ...###.#.#..#....##.##....#.####.####..########.##..#####.##.#..##..##.#...#.#.# #.#.....#.##...#.##..#..#...#..###.###.########.##....#..##..#.#.#.#.##......... #..##...#.##.#.#.##...##.......###...##..#...##..####.####.##.##..#.##....#####. #.##..##..#.#.#..#..##.#...##.##.#.....#....#.#.##..#....
output:
Yes 31837 1 80 1 80 1 80 1 80 1 80 1 79 1 74 1 73 1 71 1 71 1 71 1 71 1 69 1 68 1 66 1 66 1 66 1 66 1 66 1 64 1 64 1 64 1 62 1 62 1 62 1 62 1 61 1 58 1 58 1 57 1 54 1 54 1 53 1 53 1 53 1 53 1 53 1 53 1 53 1 53 1 53 1 52 1 50 1 50 1 48 1 48 1 46 1 46 1 45 1 44 1 44 1 44 1 42 1 42 1 38 1 37 1 37 1 37 ...
result:
ok AC
Test #59:
score: 0
Accepted
time: 5ms
memory: 10132kb
input:
80 ###..#.#..#.#.#.#.##.####..##.##......###.##..##.#.#....####....###.#....###.#.# #######.#.##...##.....####.##...###..#.#..###..###.#..###.#.......#....#.#.#.... ###.#.#.##...#...##.....###.##.#...#..###.#...###.##.#.##..#.#..#.#....######..# #.#..##.#.######.#...##.#..#...#.#..#..#...#..##.#...#...
output:
Yes 30663 1 79 1 79 1 77 1 77 1 76 1 76 1 75 1 75 1 75 1 74 1 69 1 68 1 68 1 68 1 68 1 67 1 66 1 66 1 64 1 62 1 60 1 60 1 56 1 54 1 54 1 54 1 54 1 54 1 54 1 54 1 52 1 49 1 49 1 49 1 48 1 43 1 43 1 40 1 39 1 39 1 38 1 35 1 31 1 31 1 31 1 31 1 31 1 30 1 30 1 29 1 29 1 28 1 28 1 26 1 25 1 25 1 21 1 19 ...
result:
ok AC
Test #60:
score: 0
Accepted
time: 5ms
memory: 9860kb
input:
80 ##.##..##....#..#.#...#####....#.####....#.....#..####...#.##.#..#..#######..##. .######.####..#.#####.##.....#.####....#.###.....##.#.#.#....#.##.#.#.###.##.... ###.#..#.##.#.##.##.#.#.##.....##..#...#...#.#.##.#####.#....#..#..#.###.#.#.#.# #..#..##..#.##..#..#.###.#.###..#...####.##....####......
output:
Yes 31964 1 79 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 78 1 76 1 74 1 72 1 69 1 69 1 62 1 62 1 62 1 62 1 62 1 61 1 60 1 59 1 57 1 52 1 50 1 50 1 47 1 46 1 46 1 44 1 44 1 44 1 44 1 43 1 43 1 43 1 42 1 42 1 42 1 41 1 41 1 39 1 38 1 38 1 38 1 38 1 37 1 37 1 35 1 34 1 30 1 30 1 29 1 29 1 27 1 24 1 24 1 23 ...
result:
ok AC
Test #61:
score: 0
Accepted
time: 2ms
memory: 10160kb
input:
80 .#.##..####..#.#..#.##.##.##..#..#############..###.######.#.#..##.##....##.##.# ....#...##.#.####..#.##..#....#...#.#..##..##.###.######.###..#.#.####.#......#. ....##...###.#.#..#.#....#...#.#####..###.#.##...###.......#.####.####....#..##. ..###.#....##..#.#..#.#.##..###..#.##..##..#.####.#.##...
output:
Yes 32763 1 80 1 80 1 80 1 80 1 80 1 76 1 74 1 73 1 68 1 66 1 63 1 62 1 62 1 61 1 57 1 55 1 54 1 54 1 54 1 54 1 54 1 53 1 53 1 52 1 51 1 50 1 50 1 50 1 50 1 47 1 47 1 46 1 46 1 46 1 46 1 46 1 46 1 46 1 42 1 42 1 40 1 40 1 40 1 40 1 34 1 34 1 32 1 32 1 31 1 31 1 31 1 31 1 31 1 31 1 29 1 27 1 27 1 27 ...
result:
ok AC
Test #62:
score: 0
Accepted
time: 2ms
memory: 9860kb
input:
5 ...## ##... #.#.# #.#.# #.#.. ###.. ..### .#... .#.#. .#.##
output:
Yes 105 1 1 1 1 1 5 1 5 2 5 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 2 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 1 3 2 5 1 3 1 3 2 5 1 3 2 5 2 5 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 2 5 2 5 1 4 1 4 2 5 1 4 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 1 5 1 5 2 5 1 5 2 5 2 5 1 5 2 5 2 5 1 5 2 5 1 5 2 5 1 5 ...
result:
ok AC
Test #63:
score: 0
Accepted
time: 1ms
memory: 8244kb
input:
5 ###.# .#... #..#. #..## .#..# ...#. #.#.# .##.# .##.. #.##.
output:
Yes 91 1 5 1 4 1 4 2 5 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 1 2 1 4 1 4 2 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 2 5 2 5 2 5 2 5 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 2 5 2 5 2 5 1 4 1 4 1 4 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 2 5 2 5 2 5 1 5 1 5 2 5 2 5 1 5 2 5 1 5 2 5 1 5 2 5 1 5 2 5 2 5 1...
result:
ok AC
Test #64:
score: 0
Accepted
time: 2ms
memory: 10108kb
input:
5 ..##. ..#.# ..... #.... ....# #.... ..... .#... ..#.. .#.##
output:
Yes 90 1 5 2 5 1 4 1 4 1 4 1 4 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 1 5 1 4 2 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 2 5 2 5 2 5 2 5 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 4 1 4 1 4 1 4 2 5 1 4 2 5 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 1 5 1 5 1 5 2 5 1 5 1 5 2 5 1 5 1 5 1 5 2 5 2 5 2 5 1...
result:
ok AC
Test #65:
score: 0
Accepted
time: 0ms
memory: 10000kb
input:
5 .#... ..... .#.## ..... ..... ..... ..... ..##. ...#. #....
output:
Yes 69 1 3 1 3 2 5 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 1 2 2 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 1 3 2 5 2 5 2 5 2 5 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 2 5 2 5 2 5 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 2 5 2 5 1 5 2 5 1 5 1 5 1 5 1 5 2 5 2 5 1 5 2 5 1 5 2 5 1 5 2 5 1 5
result:
ok AC
Test #66:
score: 0
Accepted
time: 2ms
memory: 10156kb
input:
5 ...## ##.#. ..... #.#.# #.##. ...#. .#..# ###.# #..## .#...
output:
Yes 83 1 4 2 5 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 1 5 1 4 1 4 2 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 1 3 2 5 2 5 1 3 1 3 1 3 1 3 2 5 2 5 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 1 4 2 5 2 5 2 5 1 4 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 2 5 2 5 1 5 2 5 1 5 2 5 2 5 1 5 2 5 1 5 2 5 1 5 2 5 1 5 1...
result:
ok AC
Test #67:
score: 0
Accepted
time: 2ms
memory: 10232kb
input:
5 #.#.. ###.# .##.# .#... ..#.. #...# ##..# ....# #..## .##..
output:
Yes 84 2 5 2 5 2 5 2 5 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 1 2 5 1 2 1 5 1 5 2 5 2 5 2 5 2 5 1 2 2 5 1 2 2 5 1 2 2 5 1 2 1 3 2 5 1 3 1 3 1 3 2 5 2 5 1 4 2 5 1 4 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 3 2 5 1 4 1 4 2 5 2 5 1 5 2 5 2 5 1 4 2 5 1 4 2 5 1 4 2 5 1 4 1 5 2 5 2 5 2 5 1 5 2 5 2 5 1 5 2 5 1 5 2 5 1 5 2 5 1...
result:
ok AC
Test #68:
score: 0
Accepted
time: 0ms
memory: 9940kb
input:
6 ##.... ##.#.# .###.. #..#.# .###.. ##..#. ..#### ..#.#. #...## .##.#. #...## ..##.#
output:
Yes 140 1 1 1 1 1 1 1 1 1 6 1 5 1 5 1 4 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 1 2 1 2 1 5 1 5 1 5 2 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 1 3 1 3 2 6 2 6 2 6 2 6 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 1 4 1 6 2 6 2 6 2 6 2 6 2 6 2 6 1 4 2 6 1 4 2 6 1 4 ...
result:
ok AC
Test #69:
score: 0
Accepted
time: 0ms
memory: 10128kb
input:
6 .##.## ##.... ..#... .##.#. .##..# ###.## #..#.. ..#### ##.### #..#.# #..##. ...#..
output:
Yes 148 1 1 1 1 1 5 1 3 1 3 1 3 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 1 6 1 5 1 4 1 4 2 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 1 6 1 6 1 5 2 6 2 6 2 6 2 6 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 4 2 6 2 6 2 6 1 4 2 6 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 ...
result:
ok AC
Test #70:
score: 0
Accepted
time: 0ms
memory: 9940kb
input:
6 ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ......
output:
Yes 90 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 2 6 2 6 2 6 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 2 6 2 6 2 6 2 6 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 2 6 2 6 2 6 2 6 2 6 2 6 1 5 2 6 1 5 2 6 1 5 2 6 1 5 2...
result:
ok AC
Test #71:
score: 0
Accepted
time: 1ms
memory: 9932kb
input:
6 ###..# ##.... ..#..# #.#.## .#.#.# .#.### ##.#.. ##..#. .##.#. .##... #.###. #.###.
output:
Yes 102 1 1 1 5 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 2 1 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 3 2 6 2 6 1 3 1 3 2 6 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 2 6 2 6 1 4 2 6 2 6 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 5 2 6 2 6 2 6 ...
result:
ok AC
Test #72:
score: 0
Accepted
time: 1ms
memory: 9940kb
input:
6 .#..#. #.#### ...### ##.... #.#### #.#... .##.#. .###.# #.##.# #.#... ###..# .##...
output:
Yes 130 1 1 1 4 1 4 1 4 1 4 1 3 1 3 1 3 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 2 1 6 1 6 1 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 1 3 2 6 1 3 1 3 2 6 2 6 1 3 1 3 1 3 1 3 2 6 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 1 4 1 4 2 6 1 4 2 6 1 4 1 4 1 4 2 6 ...
result:
ok AC
Test #73:
score: 0
Accepted
time: 2ms
memory: 9964kb
input:
6 .##### .##..# ##.##. ...... ##..## ....#. ...#.. ####.. .###.. ###.#. ..##.# ....##
output:
Yes 147 1 1 1 1 1 1 1 1 1 1 1 6 1 5 1 5 2 6 2 6 2 6 2 6 2 6 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 2 6 1 1 1 2 2 6 2 6 2 6 2 6 2 6 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 1 2 2 6 2 6 2 6 1 3 2 6 1 3 1 3 2 6 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 3 2 6 1 4 2 6 2 6 2 6 2 6 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 2 6 1 4 ...
result:
ok AC
Extra Test:
score: 0
Extra Test Passed