Minimum Segments
1887F3400· legendary gm1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
532 3 452 3 5 4 61131 3 483 6 6 6 8 9 9 9
Output
Yes1 2 1NoYes1NoYes1 3 5 3 5 1 1 3
58%
1887F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
532 3 452 3 5 4 61131 3 483 6 6 6 8 9 9 9
Yes1 2 1NoYes1NoYes1 3 5 3 5 1 1 3