0
点赞
收藏
分享

微信扫一扫

2013湖南大学Acm/Icpc邀请赛 --热身题


第一题:

#include <iostream>
#include <cstdio>
using namespace std;


int main()
{
char s[30]="0112358437189887641562819";
long long n;
while(~scanf("%lld",&n))
{
printf("%c\n",s[(n-1)%24+1]);
}
return 0;
}




举报

相关推荐

0 条评论