Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7358 | 谢锦卓 | 12for循环练习II | C++ | Compile Error | 0 MS | 0 KB | 321 | 2025-04-19 19:43:46 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int j; cin j; for(int i;i<=j;i++){ return 0; }
Main.cc: In function 'int main()': Main.cc:9:9: error: expected ';' before 'j' cin j; ^ Main.cc:9:10: warning: statement has no effect [-Wunused-value] cin j; ^ Main.cc:13:1: error: expected '}' at end of input } ^