cf/mirror

Flipper

CF
1833D1400· specialist1s256 MB⌨ stdin/stdout

Examples

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