会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
RioTian の Blogs
追光而遇,沐光而行
博客园
首页
新随笔
联系
订阅
管理
2020年3月23日
2020年蓝桥杯校内模拟赛题解
摘要: 约数 1200000有多少个约数(只计算正约数)。 #include <stdio.h> int main() { int count = 0, n = 1200000; for (int i = 1; i * i <= n; ++i) { if (n % i == 0) count += 2; }
阅读全文
posted @ 2020-03-23 19:56 RioTian
阅读(1228)
评论(4)
推荐(1)
公告