Dungeons and Candies
436C1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 3 3 2A.A...A.a..CX.Y...
Output
141 02 13 1
Sample 2of 3
Input
1 1 4 1A.B.
Output
31 02 04 23 0
Sample 3of 3
Input
1 3 5 2ABABBBBBABABABB
Output
111 03 12 34 25 1
58%
436C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…