Bear and Three Balls
653A900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
418 55 16 17
Output
YES
Sample 2of 3
Input
640 41 43 44 44 44
Output
NO
Sample 3of 3
Input
85 972 3 4 1 4 970 971
Output
YES
58%
653A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)