Update longest nondecreasing subsequence.cpp