cf/mirror

Divide and Summarize

CF
1461D1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
2
5 5
1 2 3 4 5
1
8
9
12
6
5 5
3 1 3 1 3
1
2
3
9
11
Output
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
1461D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)