cf/mirror

Minimum number of steps

CF
804B1400· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
ab
Output
1
Sample 2of 2
Input
aab
Output
3
804B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)