Find String in a Grid
1252D3000· legendary gm5s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 3 5ABCBCDDABABCBCBDACA
Output
23102
Sample 2of 2
Input
2 3 3AAAAAAAAAAAAAAA
Output
640
58%
1252D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…