标签:
5
24690
main()
{
int
i = 0,n,s= 0,sum = 0,a=2;
scanf
(
"%d"
,&n);
while
(i<n)
{
s = a+s * 10;
sum+=s;
++i;
}
printf
(
"%d\n"
,sum);
}
标签:
原文地址:http://www.cnblogs.com/SSYYGAM/p/4211250.html