
c++ 算术基本定理
碳酸钙的01妖精
这个作者很懒,什么都没留下…
展开
-
LightOJ-1431 Aladdin and the Flying Carpet (算术基本定理 + 求约数个数)
LightOJ-1431 Aladdin and the Flying Carpet (算术基本定理 + 求约数个数) It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which summons a powerful Genie. Here we are conc...原创 2018-05-26 15:50:49 · 206 阅读 · 0 评论 -
HDU-1215 七夕节 (算术基本定理 + 所有正因子和(不包括自己))
HDU-1215七夕节Time Limit:2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K(Java/Others)Problem Description七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:"你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!"人们纷纷来到...原创 2018-05-26 21:59:04 · 590 阅读 · 0 评论 -
LightOJ 1236 Pairs Forming LCM (算术基本定理 + 最小公倍数)
LightOJ 1236 Pairs Forming LCM (算术基本定理 + 最小公倍数)Find the result of the following code:long long pairsFormLCM( int n ) { long long res = 0; for( int i = 1; i <= n; i++ ) for( int ...原创 2018-05-31 21:31:48 · 288 阅读 · 0 评论