Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101136 毛靖平 12输出m的倍数 C++ Time Limit Exceeded 1000 MS 264 KB 197 2024-12-14 15:01:56

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; for(int c=1;c<=a;a++){ if(c%b==0){ cout<<c<<" "; } } return 0; }