cf/mirror

Kevin and Permutation

CF
2048B900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
4 2
6 1
8 3
Output
3 1 2 4
5 2 1 6 4 3
4 6 2 8 3 1 5 7
2048B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)