Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67305 邓嘉懿 12输出m的倍数 C++ Accepted 1 MS 276 KB 167 2024-03-16 12:39:12

Tests(10/10):


Code:

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