cf/mirror

Sort the Subarray

CF
1821B1100· newbie2s512 MB⌨ stdin/stdout

Examples

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