![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
第五次测试
大鳄梨12138
这个作者很懒,什么都没留下…
展开
-
第五次测试 大小写转换
Eddy usually writes articles ,but he likes mixing the English letter uses, for example “computer science” is written frequently “coMpUtEr scIeNce” by him, this mistakes lets Eddy’s English teacher be ...原创 2018-12-03 14:39:36 · 482 阅读 · 0 评论 -
第五次测试 求一定范围内的完数个数
完数的定义:如果一个大于1的正整数的所有因子之和等于它的本身,则称这个数是完数,比如6,28都是完数:6=1+2+3;28=1+2+4+7+14。本题的任务是判断两个正整数之间完数的个数。Input输入数据包含多行,第一行是一个正整数n,表示测试实例的个数,然后就是n个测试实例,每个实例占一行,由两个正整数num1和num2组成,(1<num1,num2<10000) 。Out...原创 2018-12-03 14:49:36 · 2132 阅读 · 0 评论 -
第五次测试 A的B次方
lcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem easier than begin.this puzzle describes ...原创 2018-12-03 15:40:42 · 203 阅读 · 0 评论 -
第五次测试 多个数求最小公倍数
The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For example, the LCM of 5, 7 and 15 is 105.InputInput...原创 2018-12-03 16:11:49 · 217 阅读 · 0 评论 -
第五次测试 A的B次方 快速幂算法
lcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem easier than begin.this puzzle describes ...原创 2018-12-09 15:29:59 · 561 阅读 · 0 评论