Chain Queries
1975E2100· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
22 11 01 215 41 0 0 0 01 21 31 53 44325
Output
NoNoYesYesNo
Sample 2of 2
Input
45 31 1 1 1 13 52 53 41 51114 40 0 0 01 22 31 412321 1111 101
Output
YesNoYesYesYesYesNoNoYes
58%
1975E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…