cf/mirror

Replace on Segment

CF
1922F2500· grandmaster3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
3 2
1 2 1
6 3
1 2 3 1 2 3
12 3
3 1 3 1 2 1 1 2 3 1 1 3
Output
1
2
2
1922F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)