Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6057 | 先明缜 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 484 | 2024-12-28 20:23:11 |
#include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; if(a>90){ cout<<"A"<<endl; } else if(a<90&&a>80){ cout<<"B"<<endl; } else if(a<80&&a>70){ cout<<"C"<<endl; } else if(a<70&&a>60){ cout<<"D"<<endl; } else{ cout<<"E"<<endl; } return 0; }
mount: mount /usr on /home/judge/jnoj/judge/run/1/usr failed: No space left on device Main.cc: In function 'int main()': Main.cc:7:5: error: 'cin' was not declared in this scope cin>>a; ^ Main.cc:9:9: error: 'cout' was not declared in this scope cout<"A"<<endl; ^ Main.cc:9:20: error: 'endl' was not declared in this scope cout<<"A"<<endl; ^ Main.cc:12:9: error: 'cout' was not declared in this scope cout<<"B"<<endl; ^ Main.cc:12:20: error: 'endl' was not declared in this scope cout<<"B"<<endl; ^ Main.cc:15:9: error: 'cout' was not declared in this scope cout<<"C"<<endl; ^ Main.cc:15:20: error: 'endl' was not declared in this scope cout<<"C"<<endl; ^ Main.cc:18:9: error: 'cout' was not declared in this scope cout<<"D"<<endl; ^ Main.cc:18:20: error: 'endl' was not declared in this scope cout<<"D"<<endl; ^ Main.cc:21:9: error: 'cout' was not declared in this scope cout<<"E"<<endl; ^ Main.cc:21:20: error: 'endl' was not declared in this scope cout<<"E"<<endl; ^