Numbers
128D2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
41 2 3 2
Output
YES
Sample 2of 3
Input
61 1 2 2 2 3
Output
YES
Sample 3of 3
Input
62 4 1 1 2 2
Output
NO
58%
128D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
41 2 3 2
YES
61 1 2 2 2 3
YES
62 4 1 1 2 2
NO