Equal Occurrences
2146A800· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
451 1 4 4 421 2151 1 1 1 1 2 2 2 2 3 3 3 4 4 553 3 3 3 3
Output
4295
58%
2146A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
451 1 4 4 421 2151 1 1 1 1 2 2 2 2 3 3 3 4 4 553 3 3 3 3
4295