cf/mirror

My First Sorting Problem

CF
1971A800· newbie1s256 MB⌨ stdin/stdout

Examples

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