Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111676 | 冯瀚翔 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 470 | 2025-03-03 19:28:29 |
#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; cin>>; if(a>=90){ cout<<A; } if(a<=90&&a>=80){ cout<<B; } if(a<=80&&a>=70){ cout<<C; } if(a<=60){ cout<<D; } return 0; }
Main.cc: In function 'int main()': Main.cc:9:10: error: expected primary-expression before ';' token cin>>; ^ Main.cc:11:15: error: 'A' was not declared in this scope cout<