#640(Div.4)C. K-th Not Divisible by n(數學)

題目描述 You are given two positive integers n and k. Print the k-th positive integer that is not divisible by n. For example, if n=3, and k=7, then all numbers that are not divisible by 3 are: 1,2,4,5,7,
相關文章
相關標籤/搜索