cf/mirror

Choose the Different Ones!

CF
1927C1000· newbie2s256 MB⌨ stdin/stdout

Examples

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