cf/mirror

Simple Subset

CF
665D1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
2
2 3
Output
2
3 2
Sample 2of 4
Input
2
2 2
Output
1
2
Sample 3of 4
Input
3
2 1 1
Output
3
1 1 2
Sample 4of 4
Input
2
83 14
Output
2
14 83
665D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)