| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74985 | 张黄源 | 12输出m的倍数 | C++ | Compile Error | 0 MS | 0 KB | 156 | 2024-05-26 14:20:39 |
#include<iostream> using namespace std; int main (){ int n,m for(int u = 1; u >= n; u++){ if(u % m == 0){ cout<<u<<" "; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:2: error: expected initializer before 'for'
for(int u = 1; u >= n; u++){
^
Main.cc:5:17: error: 'u' was not declared in this scope
for(int u = 1; u >= n; u++){
^