Red Light, Green Light (Easy version)
2118D11700· expert4s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
42 21 41 031 2 39 41 2 3 4 5 6 7 8 93 2 1 0 1 3 3 1 152 5 6 7 84 21 2 3 40 0 0 041 2 3 43 41 2 33 1 131 2 3
Output
YESNOYESYESYESYESNONOYESYESNONOYESNOYES
58%
2118D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…