• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
nannandbk
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 ··· 12 下一页
2024年10月13日
牛客小白月赛98 A~D
摘要: 牛客小白月赛98 A~D A-骰子魔术 签到不多说 // AC one more times // nndbk #include <bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 1e9 + 7; c 阅读全文
posted @ 2024-10-13 11:54 nannandbk 阅读(6) 评论(0) 推荐(0)
牛客小白月赛99 C~E
摘要: 牛客小白月赛99 C~E C-迷宫 思路:其实能不能到达,只要看起点和终点是否能变成连通的。射线技能只能用一次,我们在起点能到的点\((x,y)\)去\(check:x,y,x-1,y-1,y+1\)是否在终点能到达的点的坐标中出现。 // AC one more times // nndbk #i 阅读全文
posted @ 2024-10-13 11:53 nannandbk 阅读(9) 评论(0) 推荐(0)
牛客小白月赛100 A~E
摘要: 牛客小白月赛100 A~E A-ACM中的A题 签到不多说 // AC one more times // nndbk #include <bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 1e9 + 阅读全文
posted @ 2024-10-13 11:53 nannandbk 阅读(14) 评论(0) 推荐(0)
2024年10月12日
算法竞赛个人模板
摘要: Math & DP & Data structure & Graph & Geometry & Game 表演者: magicat 💕 nannan 目录 Math & DP & Data structure & Graph & Geometry & GameHead快读1快读2快读3模板1模板2 阅读全文
posted @ 2024-10-12 17:33 nannandbk 阅读(135) 评论(0) 推荐(0)
2024年10月10日
2024 CCPC山东邀请赛 IAFKC
摘要: 2024CCPC山东邀请赛 IAFKC I. Left Shifting 思路:要第一个和最后一个一样,那找到第一个连续的两个一样的就是答案。如果一开始第一个和最后一个就是一样的,那就是0。 // AC one more times // nndbk #include <bits/stdc++.h> 阅读全文
posted @ 2024-10-10 21:12 nannandbk 阅读(329) 评论(0) 推荐(0)
2024年10月8日
牛客小白月赛101 A~E
摘要: 牛客小白月赛101 A~E A-tb的区间问题 题意:tb 给了 fc 一个长度为 n 的数组 A, fc 对 A 进行 k 次如下操作: 删除数组第一个元素或者删除数组最后一个元素。 求最后得到的数组和的最大值。 思路:最后删除的是某一组前后缀,一一去枚举可行的区间即可。 // AC one mo 阅读全文
posted @ 2024-10-08 23:42 nannandbk 阅读(51) 评论(0) 推荐(0)
2024年9月26日
Codeforces Round 970 (Div. 3)A~F
摘要: Codeforces Round 970 (Div. 3)A~F A. Sakurako's Exam 把1的个数和2的个数按奇偶分类讨论即可。 // AC one more times // nndbk #include <bits/stdc++.h> using namespace std; t 阅读全文
posted @ 2024-09-26 10:27 nannandbk 阅读(15) 评论(0) 推荐(0)
2024年9月25日
Codeforces Round 964 (Div. 4)A~G1
摘要: Codeforces Round 964 (Div. 4)A~G1 A. A+B Again? 签到 // AC one more times // nndbk #include <bits/stdc++.h> using namespace std; typedef long long ll; c 阅读全文
posted @ 2024-09-25 23:42 nannandbk 阅读(27) 评论(0) 推荐(0)
Codeforces Round 971 (Div. 4)A~G1
摘要: Codeforces Round 971 (Div. 4)A~G1 A. Minimize! 签到不多说。 // AC one more times // nndbk #include <bits/stdc++.h> using namespace std; typedef long long ll 阅读全文
posted @ 2024-09-25 22:54 nannandbk 阅读(29) 评论(0) 推荐(0)
2024年6月15日
hexo+github page个人博客搭建
摘要: 心血来潮搭建了hexo+github page的个人博客QAQ。 有兴趣的口以看一看哇。nannan的博客 可以一起交流学习,有问题的地方也希望各位大佬指出哇。 阅读全文
posted @ 2024-06-15 21:40 nannandbk 阅读(6) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 12 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3