endlessp
endlessp
全部文章
题解
归档
标签
去牛客网
登录
/
注册
endlessp的博客
全部文章
/ 题解
(共1篇)
牛客周赛 Round 46 C 爱音开灯
本题主要是简单的贪心 + 素数筛变化为约数筛 注意是无穷个灯随着n进行变化 #include<bits/stdc++.h> using namespace std; #define ll long long #define pll pair<ll,ll> #define PI...
C++
贪心
2024-06-10
2
206