- 博客(2)
- 收藏
- 关注
原创 HDU2164 Rock, Paper, or Scissors?
Problem DescriptionRock, Paper, Scissors is a two player game, where each player simultaneously chooses one of the three items after counting to three. The game typically lasts a pre-determined numbe...
2019-06-30 10:41:10 108
原创 ACM数论素数
文章目录普通素数判断埃拉托色尼筛选法思路函数线性筛选普通素数判断埃拉托色尼筛选法【问题描述】请使用筛选法输出[a, b]之间的所有素数。【数据输入】输入数据有多组,每组数据占一行,每行2个正整数a和b,其中2<=a<=b<=1000000。【数据输出】每组数据按从小到大的顺序输出[a, b]中所有的素数,每行最多输出10个素数。每组数据之后空一行。【样例输入】...
2019-06-20 12:33:29 260
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人