会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
cqbzcsq
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
2020年4月17日
牛客挑战赛39、A、聚会(枚举+细节处理)
摘要: 题面:https://ac.nowcoder.com/acm/contest/5157/A 题解先发现一个显然的性质,0号点必定要设传送门,然后直接枚举不能走传送门的人的下标范围,然后剩下的用最远的两点距离除以2...
阅读全文
posted @ 2020-04-17 22:27 cqbzcsq
阅读(75)
评论(0)
推荐(0)
编辑
牛客挑战赛39、C、牛牛的等差数列 (线段树+细节处理)
摘要: 题面:https://ac.nowcoder.com/acm/contest/5157/C 题解线段树裸题由于一个细节调了我50minvoid insert(int i,int l,int r,LL f,LL ...
阅读全文
posted @ 2020-04-17 22:19 cqbzcsq
阅读(277)
评论(0)
推荐(0)
编辑
2020年4月15日
2020.4.15 省选模拟赛总结(打响回归OI的第一炮)
摘要: 我回来了纵使日薄西山即便看不到未来此时此刻的光辉盼君勿忘 开幕雷击 题解大概想了30min然后从9:20开始写,写到了11:00(果然,老年选手的码力急剧下降)然后从11:00调到了考试结束13:00。。。后来...
阅读全文
posted @ 2020-04-15 21:40 cqbzcsq
阅读(134)
评论(0)
推荐(0)
编辑
2020年3月6日
HDU2297 Run (思维题+单调性)
摘要: RunSince members of Wuhan University ACM Team are lack of exercise, they plan to participate in a ten-thou...
阅读全文
posted @ 2020-03-06 22:24 cqbzcsq
阅读(78)
评论(0)
推荐(0)
编辑
A Star not a Tree? (模拟退火)
摘要: Luke wants to upgrade his home computer network from 10mbs to 100mbs. His existing network uses 10base2 (c...
阅读全文
posted @ 2020-03-06 16:31 cqbzcsq
阅读(83)
评论(0)
推荐(0)
编辑
Matrix Multiplication (利用随机化检验矩阵乘法)
摘要: You are given three n × n matrices A, B and C. Does the equation A × B = C hold true?InputThe first line o...
阅读全文
posted @ 2020-03-06 12:25 cqbzcsq
阅读(447)
评论(0)
推荐(0)
编辑
2020年3月5日
省选模拟赛20200229(by Ark) T3 买买买(动态点分治)
摘要: 题解٩(๑>◡◡#include#include#includeusing namespace std;#define N 100005#define LOG 18#define LL long lon...
阅读全文
posted @ 2020-03-05 20:31 cqbzcsq
阅读(92)
评论(0)
推荐(0)
编辑
省选模拟赛20200302 T3 LYK loves rabbits(思维题+DP)
摘要: 题解思维题我们首先会发现,一种状态最多有三种方式可以转移到其他状态1、中间的往左跳2、中间的往右跳3、两边的某一个往中间跳(最多一个可行,这个可以简单证明)每个状态只有两度或三度,我们可以联想到二叉树我们把往...
阅读全文
posted @ 2020-03-05 20:07 cqbzcsq
阅读(125)
评论(0)
推荐(0)
编辑
HDU5977 Garden of Eden(点分治+高维后缀和(超集和))
摘要: When God made the first man, he put him on a beautiful garden, the Garden of Eden. Here Adam lived with al...
阅读全文
posted @ 2020-03-05 16:14 cqbzcsq
阅读(95)
评论(0)
推荐(0)
编辑
BZOJ3730 震波+BZOJ4372 烁烁的游戏(动态点分治)
摘要: 震波在一片土地上有N个城市,通过N-1条无向边互相连接,形成一棵树的结构,相邻两个城市的距离为1,其中第i个城市的价值为value[i]。不幸的是,这片土地常常发生地震,并且随着时代的发展,城市的价值也往往会发生...
阅读全文
posted @ 2020-03-05 15:55 cqbzcsq
阅读(97)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理