会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
2024年1月11日
P8649 [蓝桥杯 2017 省 B] k 倍区间
摘要: 注意要把map[0]设置为1,因为根据题意,长度为1 的区间也要算进来 完整代码: #include <iostream> #include <map> #define int long long using namespace std; map <int, int> mp; //记录每个余数出现个
阅读全文
posted @ 2024-01-11 22:30 Gold_stein
阅读(17)
评论(0)
推荐(0)
编辑
公告