Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66464 万诗烨 09输出成绩等级 C++ Compile Error 0 MS 0 KB 248 2024-03-09 10:45:23

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int cj; cin>>cj; if(a>=90){ cout<<"A"<<endl; }else if(>=80<90){ cout<<"B"<<endl; }else if(>=70<80){ cout<<"C"<<endl; }else{ cout<<"D"<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 'a' was not declared in this scope
  if(a>=90){
     ^
Main.cc:8:11: error: expected primary-expression before '>=' token
  }else if(>=80<90){
           ^
Main.cc:10:11: error: expected primary-expression before '>=' token
  }else if(>=70<80){
           ^