cf/mirror

Removal of a Permutation

CF
2011G5s512 MB⌨ stdin/stdout

Examples

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