Important Exam
1201A900· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 4ABCDABCE1 2 3 4
Output
16
Sample 2of 2
Input
3 3ABCBCDCDE5 4 12
Output
21
58%
1201A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 4ABCDABCE1 2 3 4
16
3 3ABCBCDCDE5 4 12
21