• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Object_S

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | | 管理
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 33 下一页

2019年10月9日

P1083 借教室
摘要: 题目地址注意点:需要一开始build一次才能保证minn的正确性.#include#includeusing namespace std;const int MAXN=2e6,INF=2e9,root=1;str... 阅读全文
posted @ 2019-10-09 20:55 Object_S 阅读(83) 评论(0) 推荐(0)
 
P1079 Vigenère 密码
摘要: 题目地址注意点:写完一段代码后应当先进行一次静态查错.#include#include#includeusing namespace std;const int MAXN=2e3;bool isCapital(c... 阅读全文
posted @ 2019-10-09 00:42 Object_S 阅读(125) 评论(0) 推荐(0)
 

2019年10月8日

P1071 潜伏者
摘要: 题目地址易错点:"唯一对应"这一性质需要双向合法.#include#include#includeusing namespace std;const int MAXN=2e2;char lock[MAXN],or... 阅读全文
posted @ 2019-10-08 21:02 Object_S 阅读(109) 评论(0) 推荐(0)
 

2019年10月7日

P1068 分数线划定
摘要: 题目地址#include#include#include#include#includeusing namespace std;const int MAXN=1e4;struct Person{ int inde... 阅读全文
posted @ 2019-10-07 23:35 Object_S 阅读(112) 评论(0) 推荐(0)
 
P1067 多项式输出
摘要: 题目地址注意点:可以使用OOP的思想. 应当认真理解题目限制条件.#include#include#include#includeusing namespace std;const int MAXN=5e3;in... 阅读全文
posted @ 2019-10-07 20:48 Object_S 阅读(106) 评论(0) 推荐(0)
 

2019年10月6日

P1969 积木大赛/P5019 铺设道路
摘要: 题目地址基本思路:连续增减性.#include#includeusing namespace std;const int MAXN=2e5;int h[MAXN];int main(){ int n; scanf... 阅读全文
posted @ 2019-10-06 01:42 Object_S 阅读(137) 评论(0) 推荐(0)
 

2019年10月5日

AW314 低买
摘要: 题目地址易错点:从前往后枚举并尝试进行更新的思想值得学习.#include#includeusing namespace std;const int MAXN=1e4;int a[MAXN];int f[MAXN... 阅读全文
posted @ 2019-10-05 20:59 Object_S 阅读(87) 评论(0) 推荐(0)
 
AW314 低买
摘要: 题目地址 易错点: 从前往后枚举并尝试进行更新的思想值得学习. 阅读全文
posted @ 2019-10-05 20:56 Object_S 阅读(99) 评论(0) 推荐(0)
 

2019年10月3日

AW201 可见的点 (欧拉函数)
摘要: 题目地址易错点:初始化时可以直接忽略1的欧拉函数,以便于前缀和统计.#include#includeusing namespace std;const int MAXN=2e3;int phi[MAXN],sum... 阅读全文
posted @ 2019-10-03 20:07 Object_S 阅读(150) 评论(0) 推荐(0)
 
P3912 素数个数
摘要: 题目地址#include#include#includeusing namespace std;const int MAXN=1e8;bool notPrime[MAXN];int notPrimeCnt=0;v... 阅读全文
posted @ 2019-10-03 02:17 Object_S 阅读(100) 评论(0) 推荐(0)
 
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 33 下一页