cf/mirror

Make Equal Again

CF
1931C1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
8
6
1 2 3 4 5 1
7
1 1 1 1 1 1 1
8
8 8 8 1 2 8 8 8
1
1
2
1 2
3
1 2 3
7
4 3 2 7 1 1 3
9
9 9 2 9 2 5 5 5 3
Output
4
0
2
0
1
2
6
7
1931C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)