会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
manbin
博客园
首页
新随笔
联系
订阅
管理
2024年10月11日
Codeforces Round 975 (Div. 2)
摘要: Codeforces 975 div2 A. Max Plus Size 点击查看代码 void solve() { int n;cin>>n; int imax1=0,imax2=0; for(int i=1;i<=n;i++) { int x; cin>>x; if(i%2) imax1=max
阅读全文
posted @ 2024-10-11 09:23 manbin
阅读(30)
评论(0)
推荐(0)
2024年9月27日
Codeforces Round 973 (Div. 2)
摘要: Codeforces 973 div2 A:Zhan's Blender 点击查看代码 void solve() { int n,x,y; cin>>n>>x>>y; int ans=0; if(x>=y) { ans=n/y; if(n%y) ans++; } else { ans=n/x; if
阅读全文
posted @ 2024-09-27 00:30 manbin
阅读(56)
评论(0)
推荐(0)
公告