Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
156533 熊泊彧 输出成绩等级II C++ Compile Error 0 MS 0 KB 268 2026-06-28 15:28:00

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,; cin>>a; a= a/10; switch(a){ case 10: case 9:cout<<"A";break; case 8: case 7:cout<<"B";break; case 6:cout<<"C";break; default:cout<<"D"; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:8: error: expected unqualified-id before ';' token
  int a,;
        ^