#include <stdio.h> int main() { int t; while(scanf("%d",&t)!=EOF) { if(t>100||t<0) printf("Score is error!\n"); else if(t<60) printf("E\n"); else if(t<70) printf("D\n"); else if(t<80) printf("C\n"); else if(t<90) printf("B\n"); else if(t<=100) printf("A\n"); } return 0; }
杭电acm2004成绩转换
最新推荐文章于 2021-11-06 00:30:59 发布