文章

28

粉丝

0

获赞

43

访问

4.5k

头像
成绩的等级 题解:
P1038 中南大学机试题
发布于2026年8月14日 17:04
阅读数 226

这个题目。。。。。。。。。。。。。。。。。。。。。。。。。。。别浪费时间,直接ai

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

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发