DescriptionInputOutput一个整数RSample Input7 9 4 8 20 14 15 18Sample Output13Hint所求的Z序列为6,7,8,13,14,15,18. R=13Source