cf/mirror

Parity Sort

CF
1851B800· newbie2s256 MB⌨ stdin/stdout

Examples

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