• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
magicat
博客园    首页    新随笔    联系   管理    订阅  订阅
01 2023 档案
Educational Codeforces Round 3 个人总结A-E

摘要:[Educational Codeforces Round 3](https://codeforces.com/contest/609 "Educational Codeforces Round 3") A. USB Flash Drives + 降序排序后,贪心,甚至不会爆longlong ``` 阅读全文
posted @ 2023-01-28 17:02 magicat 阅读(56) 评论(1) 推荐(0)
Educational Codeforces Round 2 个人总结A-E

摘要:Educational Codeforces Round 2 A. Extract Numbers 简单的模拟 bool check(string op) { if(op.size()==1&&op[0]=='0') return true; if(op.size()==0||(op[0]<'1'| 阅读全文
posted @ 2023-01-28 01:44 magicat 阅读(57) 评论(0) 推荐(0)
Educational Codeforces Round 1 个人总结A-E

摘要:Educational Codeforces Round 1 A. Tricky Sum 数学,求$1 \dots n$的和减去 小于等于n的二次幂乘2之和 LL f[40]; void solve() { LL n; cin>>n; LL ans=n+n*(n-1)/2; for(int i=0; 阅读全文
posted @ 2023-01-21 14:53 magicat 阅读(94) 评论(0) 推荐(0)
标记一下CF教育场的网址

摘要:#(因为太难翻了,做到哪里标到哪,自用 Educational Codeforces Round 1 Educational Codeforces Round 2 Educational Codeforces Round 3 阅读全文
posted @ 2023-01-18 04:08 magicat 阅读(32) 评论(0) 推荐(0)
UVA10404

摘要:由题意可知,这题和巴什博弈没什么关系了 相似题目:AtCoder Beginner Contest 278 F - Shiritori 预备知识:DP,博弈论的必胜态和必败态 问题的关键是确定$f_n$是必胜态还是必败态? 而必胜态由必败态转移而来 如果当前$i-a_j$这个位置是必败态,那么$i$ 阅读全文
posted @ 2023-01-17 14:39 magicat 阅读(32) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3