cf/mirror

Queries for the Array

CF
1861C1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
7
++1
+++1--0
+0
0
++0-+1-+0
++0+-1+-0
+1-+0
Output
YES
NO
NO
NO
YES
NO
NO
1861C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…