编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#18477 #2015. shenchuan的CF段位 Wrong Answer 50 4 ms 284 K C / 797 B 192023215362 2024-10-19 15:27:55
显示原始代码
#include <stdio.h>
int main() {
    int n;
    scanf("%d", &n);
    int i;
    for (i = 0; i < n; i++) {
        int al;
        scanf("%d", &al);

        if (al < 1200 && al >= 0)
            printf("Newbie");
        else if (al < 1400 && al >= 1200)
            printf("Pupil");
        else if (al < 1600 && al >= 1400)
            printf("Specialist");
        else if (al < 1900 && al >= 1600)
            printf("Expert");
        else if (al < 2100 && al >= 1900)
            printf("Candidate Master");
        else if (al < 2300 && al >= 2100)
            printf("Master");
        else if (al < 2400 && al >= 2300)
            printf("International Master");
        else if (al < 2600 && al >= 2400)
            printf("Grandmaster");
        else if (al < 3000 && al >= 2600)
            printf("International Grandmaster");
        else if (al < 4000 && al >= 3000)
            printf("Legendary Grandmaster");
        if (al >= 1700) {
            printf(" Yes");
        } else {
            printf(" No");
        }
        printf("\n");
    }

    return 0;
}
子任务 #1
Wrong Answer
得分:50
测试点 #1
Accepted
得分:100
用时:2 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>

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:2 ms
内存:272 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
 Yes
 Yes
Legendary Grandmaster Yes
Candidate Master Yes
 Yes
Newbie No
Newbie No
Expert No
Expert No

<14894 bytes omitted>

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0