#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,
相关文章
相关标签/搜索