cf/mirror

Candy Party (Easy Version)

CF
1868B11700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
3
2 4 3
5
1 2 3 4 5
6
1 4 7 1 5 4
2
20092043 20092043
12
9 9 8 2 4 4 3 5 1 1 1 1
6
2 12 7 16 11 12
Output
Yes
Yes
No
Yes
No
No
1868B1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…