Submedians (Easy Version)
2128E11900· candidate master3s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
74 34 1 2 45 21 2 3 2 15 31 2 3 2 15 31 1 2 5 31 112 12 14 11 2 1 3
Output
4 1 43 3 42 2 43 3 51 1 12 1 23 4 4
58%
2128E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)