会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
anmoyf
Sail_Yf
博客园
首页
新随笔
联系
订阅
管理
2025年4月9日
Codeforces Round 1016 (Div. 3)
摘要: A. Ideal Generator 面向样例编程即可 cin>>t; while(t--){ cin>>n; if(n%2==0) cout<<"No"<<endl; else cout<<"Yes"<<endl; } B. Expensive Number 考虑留最后一个非零的数字 ll t,n
阅读全文
posted @ 2025-04-09 10:29 anmoyf
阅读(123)
评论(0)
推荐(0)
2025年3月31日
Codeforces Round 1013 (Div. 3)
摘要: A. Olympiad Date 模拟一个桶结构即可 int cnt=0; int x=3,y=1,z=2,p=1,q=1; cin>>n; for(int i=1;i<=n;i++) cin>>a[i]; for(int i=1;i<=n;i++){ if(a[i]==0&&x>=1) x--;
阅读全文
posted @ 2025-03-31 20:00 anmoyf
阅读(31)
评论(0)
推荐(0)
公告