#include<stdio.h>
int main()
{
int n, num;
scanf("%d", &n);
while (n--)
{
int r;
scanf("%d", &num);
if (num == 1)
r = 7;
else if (num == 2)
r = 27;
else if (num <= 10)
r = 70;
else if (num == 11)
r = 270;
else
r = 700;
printf("%d\n", r);
}
return 0;
}
没有算法。。纯常识推理
ZOJ-2965
最新推荐文章于 2017-02-17 21:19:35 发布