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

Tests(0/0):


Code:

using namespace std; int main(){ int>>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:3:5: error: expected unqualified-id before '>>' token
  int>>a;
     ^
Main.cc:4:5: error: 'a' was not declared in this scope
  if(a>90&&a=90){
     ^
Main.cc:5:3: error: 'cout' was not declared in this scope
   cout<<"A";
   ^
Main.cc:7:3: error: 'cout' was not declared in this scope
   cout<<"B";
   ^
Main.cc:9:3: error: 'cout' was not declared in this scope
   cout<<"D";
   ^
Main.cc:11:3: error: 'cout' was not declared in this scope
   cout<<"D";
   ^
Main.cc:13:3: error: 'cout' was not declared in this scope
   cout<<"E";
   ^
Main.cc:14:2: error: expected '}' at end of input
  }
  ^