| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 126997 | 唐洪盛 | 12输出3的倍数 | C++ | Wrong Answer | 0 MS | 272 KB | 162 | 2025-07-23 15:27:58 |
#include<bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m>>n; for(int i=m;i<=n;i++){ if(i%3==0){ cout<<i<<" "; } } }
------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-----
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66