cf/mirror

Equal Occurrences

CF
2146A800· newbie1s256 MB⌨ stdin/stdout

Examples

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