Hide-and-Seek
32E2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
-1 31 30 2 0 40 0 0 1
Output
NO
Sample 2of 4
Input
0 01 10 1 1 0-100 -100 -101 -101
Output
NO
Sample 3of 4
Input
0 01 10 1 1 0-1 1 1 3
Output
YES
Sample 4of 4
Input
0 010 0100 100 101 1011 0 3 0
Output
YES
58%
32E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)