摘要: 分析:题目给出一个公式f(n)=n*n+n+41,输入a和b,0<=a<=b<=10000, 问在区间[a,b]中满足f(k)是素数的数所占的百分比。 b的范围不大,直接暴力素数打表即可。 最后输出保留两位小数,卡精度,必须在结果加上1e-5(或者更小)保证精度。 例如,输入 6000 9999,不 阅读全文
posted @ 2018-03-22 21:33 ACRykl 阅读(178) 评论(0) 推荐(0) 编辑
摘要: We all know the Super Powers of this world and how they manage to get advantages in political warfare or even in other sectors. But this is not a poli 阅读全文
posted @ 2018-03-22 20:31 ACRykl 阅读(274) 评论(0) 推荐(0) 编辑