Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67295 邓嘉瑶 12输出m的倍数 C++ Accepted 7 MS 272 KB 174 2024-03-16 12:17:15

Tests(10/10):


Code:

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