cf/mirror

Replacing Elements

CF
1473A800· newbie2s256 MB⌨ stdin/stdout

Examples

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