hg

XMSXHL  •  21小时前


include <bits/stdc++.h>

using namespace std;

int main() {

freopen("count.in", "r", stdin);
freopen("count.out", "w", stdout);
int N, M;
cin >> N >> M;
for (int i = 1; i <= N; i++) {
	if (i % M != 0) {
		cout << i << endl;
	}
}
return 0;

}


评论:

请先登录,才能进行评论