Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106610 李朋秦 输出成绩等级II C++ Wrong Answer 1 MS 272 KB 504 2025-01-16 14:10:17

Tests(1/4):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b; cin>>a; b=a/10; switch(b){ case 10: case 9: cout<<'A';break; case 8: case 7: cout<<'B';break; case 6: cout<<'D';break; default:cout<<a/b;break; } return 0; }


Run Info:

------Input------
10
------Answer-----
D
------Your output-----
10