Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106699 | 陈治宸 | 14报数拿糖 | C++ | Compile Error | 0 MS | 0 KB | 228 | 2025-01-16 15:11:27 |
#include<iostream> using namespace std; int main(){ int i; for(i=1;i<=100;i++) if(i%3==0) { cout<<i%10<<endl; } if(i%10==0) { cout<<"10"<<endl; continue; cout<< } return 0; }
Main.cc: In function 'int main()': Main.cc:11:3: error: continue statement not within a loop continue; ^ Main.cc:13:1: error: expected primary-expression before '}' token } ^