cf/mirror

Xor Permutations

CF
1168E3100· legendary gm1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
2
0 1 2 3
Output
Shi
2 0 1 3
2 1 3 0
Sample 2of 3
Input
2
0 0 0 0
Output
Shi
0 1 2 3
0 1 2 3
Sample 3of 3
Input
2
0 1 2 2
Output
Fou
1168E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)