cf/mirror

Milya and Two Arrays

CF
2059A800· newbie1s256 MB⌨ stdin/stdout

Examples

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