SRM 518 DIV 1 500 ConvexSequence
SRM 518 DIV 1 250 LargestSubsequence