Little Elephant and Problem
220A1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
21 2
Output
YES
Sample 2of 3
Input
33 2 1
Output
YES
Sample 3of 3
Input
44 3 2 1
Output
NO
58%
220A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
21 2
YES
33 2 1
YES
44 3 2 1
NO