cf/mirror

Penchick and Desert Rabbit

CF
2031D1700· expert3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
4
2 3 1 4
5
5 4 3 2 1
4
2 1 1 3
4
1 1 3 1
8
2 4 1 6 3 8 5 7
Output
3 3 3 4
5 5 5 5 5
2 2 2 3
1 1 3 3
8 8 8 8 8 8 8 8
2031D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…