Vladik and Complicated Book
811B1200· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 55 4 3 2 11 5 31 3 12 4 34 4 42 5 3
Output
YesNoYesYesNo
Sample 2of 2
Input
6 51 4 3 2 5 62 4 31 6 24 5 41 3 32 6 3
Output
YesNoYesNoYes
58%
811B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)