cf/mirror

Наибольший подъем

CF
648A900· newbie⌨ stdin/stdout

Examples

Sample 1of 3
Input
6 11
...........
.........*.
.*.......*.
**.......*.
**..*...**.
***********
Output
3 4
Sample 2of 3
Input
5 5
....*
...**
..***
.****
*****
Output
1 0
Sample 3of 3
Input
8 7
.......
.*.....
.*.....
.**....
.**.*..
.****.*
.******
*******
Output
6 2
648A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)