cf/mirror

Slime Escape

CF
1734D1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
7 4
-1 -2 -3 6 -2 -3 -1
3 1
232 -500 -700
7 4
-1 -2 -4 6 -2 -4 -1
8 4
-100 10 -7 6 -2 -3 6 -10
8 2
-999 0 -2 3 4 5 6 7
7 3
7 3 3 4 2 1 1
Output
YES
YES
NO
YES
NO
YES
1734D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)