当前位置:网站首页>数论--约数研究
数论--约数研究
2022-07-25 09:26:00 【scwMason】

题目大意也就是计算因数的个数,f(6)表示从1~6所有值约数之和。
那么循环一下n,n/i表示因数有i的数的个数,那么以4为例:
因数为1:4个
因数为2:2个
因数为3:1个
因数为4:1个
所以总和是4+2+1+1=8个
边栏推荐
- Configuring ROS development environment with vscode: Causes and solutions to the problem of ineffective code modification
- UE4 外部打开exe文件
- Rest使用与原理
- rospy Odometry天坑小计
- message from server: “Host ‘xxx.xxx.xxx.xxx‘ is not allowed to connect to this MySQL server“
- IO流中的输入流
- 字典树的使用
- 一文学会,三款黑客必备的抓包工具教学
- CCF 201503-4 network delay
- struct2的原理
猜你喜欢
随机推荐
UE4 LoadingScreen动态加载启动动画
Download and installation of QT 6.2
canal实现mysql数据同步
pnpm简述
[necessary for growth] Why do I recommend you to write a blog? May you be what you want to be in years to come.
MVC三层架构理解
一.初始MySQL,MySQL安装、配置环境、初始化
多线程——死锁和synchronized
多线程——Runnable接口,龟兔赛跑
线程池的死锁事件
Reflection 反射
记录一些JS工具函数
Is binary cross entropy really suitable for multi label classification?
CCF 201503-3 Festival
framework打包合并脚本
Vant problem record
UE4 窗口控制(最大化 最小化)
多线程——Callable接口,lambda
mysql历史数据补充新数据
ES6 detailed explanation








