2022年6月27日

1024快乐

摘要: 1024快乐 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(11) 评论(0) 推荐(0)

欧拉筛板子

摘要: 洛谷P3383 【模板】线性筛素数 欧拉筛板子 #include#includeusing namespace std;#defin... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(25) 评论(0) 推荐(0)

快速幂板子

摘要: 题目链接洛谷P1226 #includeusing namespace std;#define mem(a,b) memset(a,... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(12) 评论(0) 推荐(0)

并查集+克鲁斯卡尔+最小生成树板子

摘要: 洛谷P3366 【模板】最小生成树 #include#includeusing namespace std;#define mem(... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(14) 评论(0) 推荐(0)

2020牛客国庆集训派对day3(补题)

摘要: 补题J:Flowers 题目链接 tot(为花的贡献和) 本题给出数据n,m,n为花卉种类,m为每束花应该有m种,check中的x为... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(15) 评论(0) 推荐(0)

2020牛客国庆集训派对day4 补题

摘要: 添加链接描述 补题B:本题求最长等差序列的长度 代码: #include#include#include#include#inclu... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(11) 评论(0) 推荐(0)

2020牛客国庆集训派对day2 补题J

摘要: 2020牛客国庆集训派对day2 补题J:VIRUS OUTBREAK 题目描述 The State Veterinary Serv... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(11) 评论(0) 推荐(0)

Elven Postman(hdu5444)

摘要: 题目链接hdu5444 从总根出发,如果比当前根值大往左继续查询且输出W,比当前根值小往右继续查询且输出E,在根就换行并且返回,且每... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(18) 评论(0) 推荐(0)

The order of a Tree(二叉树的前序遍历)(hdu3999)

摘要: 本题构建二叉树,并且前序遍历输出即可 题目链接hdu3999 #include#include#include#include#in... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(11) 评论(0) 推荐(0)

kmp

摘要: 大佬kmp详解 写个博客记下来 POJ3461 Oulipo #include#include#includeusing names... 阅读全文

posted @ 2022-06-27 08:29 wxz0v0 阅读(12) 评论(0) 推荐(0)

导航