cf/mirror

Problem Generator

CF
1980A800· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1multi-test • hover to link
Input
3
10 1
BGECDCBDED
10 2
BGECDCBDED
9 1
BBCDEFFGG
Output
2
5
1
1980A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)