输入一个数 nnn,求 n+10n+10n+10 和 n+20n+20n+20 这两个数中有几个质数。
一个整数 nnn
一个整数,表示这两个数中质数的个数。
9
2
81
1
对于所有数据,1≤n≤10001≤n≤10001≤n≤1000。
在以下作业中:
质数
使用您的 Turing 通用账户