cf/mirror

Modular Sorting

CF
2123G2100· master5s256 MB⌨ stdin/stdout

Examples

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