@daweinicole
2017-03-29T23:48:40.000000Z
字数 303
阅读 691
题解
题目
题目(A - Sumsets)
题目大意:
翻译
解题思路:
思路
代码:
C++
#include
using namespace std;
int main()
{
int m,n;
while(cin>>m)
{
if(m>100||m<0)
cout<<"·ÖÊýÊÇ´íÎó£¡"<
else
{
n=m/10;
switch(n)
{
case 10:
cout<<"A"<
break;
case 9:
cout<<"A"<
break;
case 8:
cout<<"B"<
break;
case 7:
cout<<"C"<
break;
case 6:
cout<<"D"<
break;
default:
cout<<"E"<
break;
}
}
}
return 0;
}