![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GCD LCM 打表
ashrkq
这个作者很懒,什么都没留下…
展开
-
ZZULI 1902: 985的因子对难题
1902: 985的因子对难题 Time Limit: 2 Sec Memory Limit: 128 MB Submit: 156 Solved: 45SubmitStatusWeb BoardDescription 985有n个正整数,他想知道存在多少个不同的因子对(a[i], a[j])使得 1 <= i, j <= n && i != j && a[j] % a[i] == 0,其中i和原创 2016-08-19 16:50:11 · 309 阅读 · 0 评论 -
Wolf and Rabbit
Wolf and Rabbit Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description There is a hill with n holes around. The holes are signed from 0 to原创 2016-07-22 08:15:48 · 303 阅读 · 0 评论 -
Cake
Cake Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 一次生日Party可能有p人或者q人参加,现准备有一个大蛋糕.问最少要将蛋糕切成多少块(每块大小不一定相等),才能使p人或者q人出席的任何一种情况,都能原创 2016-07-22 08:28:07 · 198 阅读 · 0 评论 -
又见GCDc
又见GCD Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 有三个正整数a,b,c(0 Input 第一行输入一个n,表示有n组测试数据,接下来的n行,每行输入两个正整数a,b原创 2016-07-22 08:35:37 · 531 阅读 · 0 评论 -
最小公倍数
最小公倍数 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 给定两个正整数,计算这两个数的最小公倍数。 Input 输入包含多组测试数据,每组只有一行,包括两个不大于1000的正整原创 2016-07-22 08:44:35 · 335 阅读 · 0 评论 -
素数判定
素数判定 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39 Input 输入数据有多组,每组占一行,由两个整原创 2016-07-22 08:51:52 · 184 阅读 · 0 评论 -
分拆素数和
分拆素数和 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 把一个偶数拆成两个不同素数的和,有几种拆法呢? Input 输入包含一些正的偶数,其值不会超过10000,个数不会超过5原创 2016-07-22 08:59:56 · 288 阅读 · 0 评论 -
美素数
美素数 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。 问题是这样的:一个十进制数,如果是素数,而且它原创 2016-07-22 09:03:17 · 185 阅读 · 0 评论 -
the Sum of Cube
the Sum of Cube Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description A range is given, the begin and the end are both integers. You sh原创 2016-07-22 09:13:59 · 149 阅读 · 0 评论