Fair
986A1600· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 5 4 31 2 4 3 21 22 33 44 14 5
Output
2 2 2 2 3
Sample 2of 2
Input
7 6 3 21 2 3 3 2 2 11 22 33 42 55 66 7
Output
1 1 1 2 2 1 1
58%
986A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…