会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
城市里的月光
记录美好,分享日常
博客园
首页
新随笔
新文章
联系
订阅
管理
2021年5月22日
c++中map用法(以整数分解为例)
摘要: #include <map>#include <iostream>using namespace std; map<int, int> prime_factor(int n){ map<int, int> res; for(int i = 2; i * i <= n; ++i){ while(n %
阅读全文
posted @ 2021-05-22 16:24 城市里的月光
阅读(231)
评论(0)
推荐(0)
点击右上角即可分享