Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153908 刘睿霖 12for循环练习III C++ Compile Error 0 MS 0 KB 154 2026-05-24 11:10:05

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { for(int i=1;i<=100;i++2) { cout<<i; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:27: error: expected ')' before numeric constant
     for(int i=1;i<=100;i++2)
                           ^
Main.cc:5:28: error: expected ';' before ')' token
     for(int i=1;i<=100;i++2)
                            ^
Main.cc:9:5: warning: statement has no effect [-Wunused-value]
     }
     ^