• <input id="auww4"></input>
  • <input id="auww4"><acronym id="auww4"></acronym></input>
  • <input id="auww4"><u id="auww4"></u></input>
    <object id="auww4"><acronym id="auww4"></acronym></object>
    <menu id="auww4"></menu><input id="auww4"><u id="auww4"></u></input>
    <input id="auww4"><u id="auww4"></u></input>
  • F.A.Q
    Hand In Hand
    Online Acmers
    Forum | Discuss
    Statistical Charts
    Problem Archive
    Realtime Judge Status
    Authors Ranklist
     
         C/C++/Java Exams     
    ACM Steps
    Go to Job
    Contest LiveCast
    ICPC@China
    Best Coder beta
    VIP | STD Contests
    Virtual Contests
        DIY | Web-DIY beta
    Recent Contests
    Author ID 
    Password 
     Register new ID

    成績轉換

    Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
    Total Submission(s): 247272    Accepted Submission(s): 106379


    Problem Description
    輸入一個百分制的成績t,將其轉換成對應的等級,具體轉換規則如下:
    90~100為A;
    80~89為B;
    70~79為C;
    60~69為D;
    0~59為E;
     

    Input
    輸入數據有多組,每組占一行,由一個整數組成。
     

    Output
    對于每組輸入數據,輸出一行。如果輸入數據不在0~100范圍內,請輸出一行:“Score is error!”。
     

    Sample Input
    56 67 100 123
     

    Sample Output
    E D A Score is error!
     

    Author
    lcy
     

    Source
     

    Recommend
    JGShining
     

    Statistic | Submit | Discuss | Note
    Hangzhou Dianzi University Online Judge 3.0
    Copyright © 2005-2020 HDU ACM Team. All Rights Reserved.
    Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
    Total 0.015600(s) query 2, Server time : 2020-10-10 19:01:16, Gzip enabled
    棋牌