A8558. ucyhf
编程题
普及/提高-
知识点
题目描述
qd ucyhf yi q fhycu dkcruh mxeiu huluhiu yi q tyvvuhudj fhycu dkcruh. oekh jqia yi je vydt jxu djx ucyhf.
输入格式
jxu ydfkj sediyiji ev q iydwbu ydjuwuh $d$ ( $1<=d<=11184$ ) — jxu edu-rqiut ydtun ev jxu ucyhf je vydt.
输出格式
ekjfkj q iydwbu dkcruh.
输入输出样例
输入 #1
1
输出 #1
13
说明/提示
【为了保证此题做题趣味性,请先别看这!】
本题为愚人节题.
这个题目本身就是一个密码.可以看到出现了单个字母q,推测它就是a,大胆猜想密码就是char+10.然后编写程序破解密码.给出原来的题目及翻译:
an emirp is a prime number whose reverse is a different prime number. your task is to find the nth emirp.
the input consists of a single integer n(1<=n<=11184) the one-based index of the emirp to find.
output a single number.
也就是求从小到大第n个反素数.反素数就是反转之后是另一个素数(注意反转之后与原数不同)的素数.
破解者UID:49371
本题为愚人节题.
这个题目本身就是一个密码.可以看到出现了单个字母q,推测它就是a,大胆猜想密码就是char+10.然后编写程序破解密码.给出原来的题目及翻译:
an emirp is a prime number whose reverse is a different prime number. your task is to find the nth emirp.
the input consists of a single integer n(1<=n<=11184) the one-based index of the emirp to find.
output a single number.
也就是求从小到大第n个反素数.反素数就是反转之后是另一个素数(注意反转之后与原数不同)的素数.
破解者UID:49371