![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Acwing
Acwing周赛题解
李公全
这个作者很懒,什么都没留下…
展开
-
Acwing第 49 场周赛 题解
A、组队直接模拟即可int main(){ ios::sync_with_stdio(0),cin.tie(0); cout << fixed << setprecision(7); int n,k,ans=0; cin >> n >> k; for(int i=1;i<=n;i++){ int x; cin >> x; if(x+k<=5)原创 2022-04-30 20:51:30 · 306 阅读 · 0 评论 -
Acwing 第48场周赛题解
Acwing 第48场周赛题解A 4410. 吃鸡蛋直接按照题意模拟即可。核心代码:int main(){ ios::sync_with_stdio(0),cin.tie(0); cout << fixed << setprecision(7); int n,m; cin >> n >> m; for(int i=1;;i++){ n--; if(i%m==0) n++;原创 2022-04-23 21:37:43 · 1495 阅读 · 0 评论