Forbidden Integer
1845A800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
510 3 25 2 14 2 17 7 36 1 1
Output
YES63 1 1 1 1 3NOYES22 2YES17NO
58%
1845A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
510 3 25 2 14 2 17 7 36 1 1
YES63 1 1 1 1 3NOYES22 2YES17NO