cf/mirror

Koxia and Permutation

CF
1770B1000· newbie1s256 MB⌨ stdin/stdout

Examples

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