Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108656 | 任艺宸 | 14报数拿糖 | C++ | Compile Error | 0 MS | 0 KB | 417 | 2025-01-21 10:11:51 |
#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 a; for(int i=1;i<=100;i++){ a++; if(a==11) n=1; if(i%3!=0){ continue; } cout<<i<<" "; } return 0; }
Main.cc: In function 'int main()': Main.cc:12:8: error: 'n' was not declared in this scope n=1; ^