Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97510 | 郭玉洁 | 14马里奥吃蘑菇 | C++ | Compile Error | 0 MS | 0 KB | 208 | 2024-11-16 10:08:49 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; for(int a=1;a<=100;a++){ if(a%3==0||a%100==3){ cout<<"陷阱"<<elif; }else{ cout<<a<<elif; } } return 0; }
Main.cc: In function 'int main()': Main.cc:8:20: error: 'elif' was not declared in this scope cout<<"陷阱"<