cf/mirror

Digits Sequence Dividing

CF
1107A900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
6
654321
4
1337
2
33
4
2122
Output
YES
3
6 54 321
YES
3
1 3 37
NO
YES
2
21 22
1107A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)