cf/mirror

Average Score

CF
81C1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5
3 2
4 4 5 4 4
Output
1 1 2 1 2
Sample 2of 3
Input
4
2 2
3 5 4 5
Output
1 1 2 2
Sample 3of 3
Input
6
1 5
4 4 4 5 4 4
Output
2 2 2 1 2 2
81C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)