Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150383 赵奕杰 12输出m的倍数 C++ Accepted 11 MS 272 KB 154 2026-03-27 19:42:23

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int n,m; int main(){ cin>>n>>m; for(int a=1;a<=n;a++){ if(a%m==0)cout<<a<<endl; } return 0; }