Cases
1995D2300· international master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
75 5 1ABCDE3 1 2AAA3 2 2AAB10 2 2ABABABABAB4 4 4DCBA1 17 1Q9 3 2ABCABCABC
Output
5121112
58%
1995D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)