编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#17531 #2015. shenchuan的CF段位 Wrong Answer 0 8 ms 400 K C++ / 1.8 K 192024210452 2024-10-19 13:20:15
显示原始代码
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
    int n = 0, a = 0;
    cin >> n;
    a = n - 1;
    int rate[a] = {};
    for (int i = 0; i <= a; i++) {
        cin >> rate[i];
    }
    for (int i = 0; i <= a; i++) {
        if (rate[i] < 1200) {
            cout << "Newbie"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (1200 <= rate[i] && rate[i] < 1400) {
            cout << "Pupil"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (1400 <= rate[i] && rate[i] < 1600) {
            cout << "Specialist"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (1600 <= rate[i] && rate[i] < 1900) {
            cout << "Expert"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (1900 <= rate[i] && rate[i] < 2100) {
            cout << "Candidate Master"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (2100 <= rate[i] && rate[i] < 2300) {
            cout << "Master"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (2300 <= rate[i] && rate[i] < 2400) {
            cout << "International Master"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (2400 <= rate[i] && rate[i] < 2600) {
            cout << "Grandmaster"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (2600 <= rate[i] && rate[i] < 3000) {
            cout << "International Grandmaster"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else if (3000 <= rate[i] && rate[i] < 4000) {
            cout << "Legendary Grandmaster"
                 << " ";
            if (rate[i] >= 1700)
                cout << "YES" << endl;
            else
                cout << "NO" << endl;
        } else
            cout << "Tourist"
                 << " "
                 << "YES";
    }
    getchar();
    return 0;
}
子任务 #1
Wrong Answer
得分:0
测试点 #1
Wrong Answer
得分:0
用时:3 ms
内存:284 KiB

输入文件(1.in

20
3669
3865
3122
1249
2086
3643
730
3342
1452
1304
3535
3886
3592
1251
3370
1071
3
<23 bytes omitted>

答案文件(1.out

Legendary Grandmaster Yes
Legendary Grandmaster Yes
Legendary Grandmaster Yes
Pupil No
Candidate
<319 bytes omitted>

用户输出

Legendary Grandmaster YES
Legendary Grandmaster YES
Legendary Grandmaster YES
Pupil NO
Candidate Master YES
Legendary Grandmaste
<271 bytes omitted>

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:5 ms
内存:400 KiB

输入文件(2.in

1000
259
2414
4622
4211
3558
1968
4316
715
780
1652
1641
452
318
4342
2438
3835
425
<5672 bytes omitted>

答案文件(2.out

Newbie No
Grandmaster Yes
Tourist Yes
Tourist Yes
Legendary Grandmaster Yes
Candidate Master Ye
<17217 bytes omitted>

用户输出

Newbie NO
Grandmaster YES
Tourist YESTourist YESLegendary Grandmaster YES
Candidate Master YES
Tourist YESNewbie NO
Newbie NO
Ex
<16004 bytes omitted>

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0