Magic Numbers
320A900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
114114
Output
YES
Sample 2of 3
Input
1111
Output
YES
Sample 3of 3
Input
441231
Output
NO
58%
320A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
114114
YES
1111
YES
441231
NO