Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75045 刘泽熙 12输出3的倍数 C++ Wrong Answer 0 MS 276 KB 175 2024-05-26 14:27:53

Tests(0/1):


Code:

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


Run Info:

------Input------
3 68
------Answer-----
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99
------Your output-----