Run ID:91977
提交时间:2024-09-27 19:03:54
#include<iostream> using namespace std; int main(){ int n,m,x; cin>>n>>m; for(x=1;x<=n;x++){ if(x%m==0){ cout<<x<<endl; } } return 0; }