| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 119362 | 郑景文 | 12输出3的倍数 | C++ | Compile Error | 0 MS | 0 KB | 125 | 2025-05-17 14:43:39 |
#include<bits/stdc++.h> using namespace std; int main(){ for(int i==1;i>=100;i++){ cout<<i<<endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:11: error: expected ';' before '==' token
for(int i==1;i>=100;i++){
^
Main.cc:4:11: error: expected primary-expression before '==' token
Main.cc:4:16: warning: for increment expression has no effect [-Wunused-value]
for(int i==1;i>=100;i++){
^
Main.cc:4:21: error: expected ')' before ';' token
for(int i==1;i>=100;i++){
^
Main.cc:4:22: error: 'i' was not declared in this scope
for(int i==1;i>=100;i++){
^