cf/mirror

Sort

CF
1996C1200· pupil5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
5 3
abcde
edcba
1 5
1 4
3 3
4 2
zzde
azbe
1 3
1 4
6 3
uwuwuw
wuwuwu
2 4
1 3
1 6
Output
0
1
0
2
2
1
1
0
1996C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)