- 课间十分钟
- 2014-10-03 17:07:08 @
#include<cstdio>
int main()
{
int now=2,n;
scanf("%I64d",&n);
if(n==1)
{
printf("181818181818");
return 0;
}
while(1)
{
now=now*9-8;
if(now>n)
{
printf("181818181818");
break;
}
now=now*2-1;
if(now>n)
{
printf("ZBT");
break;
}
}
}
1 条评论
-
xiaogang LV 8 @ 2015-08-04 10:39:06
en
- 1