Codeblocks project
v0.1 of the solution.
Uses longest non-decreasing sequence as the algorithm.
AC.
Longest Non decreasing sequence does it.
Tried other variants that did not fit.
Removed the commented line with break
UVa + mine
Expected outputs: UVa + mine