PAT-A1085/B1030 Perfect Sequence/完美數列 題目內容及題解

Given a sequence of positive integers and another positive integer p. The sequence is said to be a perfect sequence if M≤m×p where M and m are the maximum and minimum numbers in the sequence, respecti
相關文章
相關標籤/搜索