Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138403 zxy 09输出成绩等级 C++ Compile Error 0 MS 0 KB 190 2025-11-24 17:14:44

Tests(0/0):


Code:

int main(){ int a; cin>>a; if(a>90&&a=90){ cout<<"A"; }else if(a>=80){ cout<<"B"; }else if(a>=70){ cout<<"D"; }else if(a>=60){ cout<<"D"; }else{ cout<<"E"; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cin' was not declared in this scope
  cin>>a;
  ^
Main.cc:5:12: error: lvalue required as left operand of assignment
  if(a>90&&a=90){
            ^
Main.cc:6:3: error: 'cout' was not declared in this scope
   cout<<"A";
   ^
Main.cc:8:3: error: 'cout' was not declared in this scope
   cout<<"B";
   ^
Main.cc:10:3: error: 'cout' was not declared in this scope
   cout<<"D";
   ^
Main.cc:12:3: error: 'cout' was not declared in this scope
   cout<<"D";
   ^
Main.cc:14:3: error: 'cout' was not declared in this scope
   cout<<"E";
   ^
Main.cc:15:2: error: expected '}' at end of input
  }
  ^