会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
basasuya
一只想做数据科学家的汪汪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
16
下一页
2017年6月29日
hihocoder Challenge 29 D. 不上升序列
摘要: 这场爆零比赛题目还是要补的 这道题据说是出烂掉的原题,我找了下 CF13.C/ CF371 div1 C,一模一样 我服这群原题大佬 Fi[x]为 当A[i]<=x时,使A[1∼i] 不严格递增的最小步数,那么 i==1 Fi[x]=minxy=1|A[i]−y| Otherwise Fi[x]=m
阅读全文
posted @ 2017-06-29 17:32 basasuya
阅读(181)
评论(0)
推荐(0)
2017年6月26日
CF Educational Round 23 F.MEX Queries
摘要: 写了3小时 = =。这两天堕落了,昨天也刷了一晚上hihocoder比赛,还爆了零。之后得节制点了,好好准备考研。。 首先很容易想到 压缩数据 + 线段树 然后对于Pushdown真很难写。。需要牵涉到状态修改(所以我又写了一个adjust函数,辅助修改) 我一直跪在test7,因为3号修改在一开始
阅读全文
posted @ 2017-06-26 16:00 basasuya
阅读(121)
评论(0)
推荐(0)
2017年6月22日
CF#418 Div2 D. An overnight dance in discotheque
摘要: 一道树形dp裸体,自惭形秽没有想到 首先由于两两圆不能相交(可以相切)就决定了一个圆和外面一个圆的包含关系 又可以发现这样的树中,奇数深度的圆+S,偶数深度的圆-S 就可以用树形dp 我又写挫了= = #include<cmath> #include<map> #include<iostream>
阅读全文
posted @ 2017-06-22 20:40 basasuya
阅读(114)
评论(0)
推荐(0)
2017年6月14日
pat1121-1131
摘要: 1121 #include<cmath> #include<map> #include<iostream> #include<cstring> #include<cstdio> #include<set> #include<vector> #include<queue> #include<stack
阅读全文
posted @ 2017-06-14 17:15 basasuya
阅读(114)
评论(0)
推荐(0)
pat1111-1120
摘要: 1111 比较麻烦的最短路 #include<cmath> #include<map> #include<iostream> #include<cstring> #include<cstdio> #include<set> #include<vector> #include<queue> #incl
阅读全文
posted @ 2017-06-14 17:08 basasuya
阅读(130)
评论(0)
推荐(0)
2017年6月13日
pat1101-1110
摘要: 1101 #include<cmath> #include<map> #include<iostream> #include<cstring> #include<cstdio> #include<set> #include<vector> #include<queue> #include<stack
阅读全文
posted @ 2017-06-13 20:03 basasuya
阅读(112)
评论(0)
推荐(0)
pat1091-1100
摘要: 1091bfs傻逼题,dfs会爆栈 #include<iostream> #include<cstdio> #include<cstring> #include<vector> #include<cmath> #include<queue> #include<algorithm> #include<
阅读全文
posted @ 2017-06-13 19:55 basasuya
阅读(110)
评论(0)
推荐(0)
pat1081-1090
摘要: 1081 #include<cmath> #include<map> #include<iostream> #include<cstring> #include<cstdio> #include<set> #include<vector> #include<queue> #include<algor
阅读全文
posted @ 2017-06-13 19:47 basasuya
阅读(99)
评论(0)
推荐(0)
2017年6月10日
pat1071-1080
摘要: 1071 #include<iostream> #include<cstdio> #include<cstring> #include<vector> #include<cmath> #include<queue> #include<algorithm> #include<ctime> #inclu
阅读全文
posted @ 2017-06-10 11:44 basasuya
阅读(109)
评论(0)
推荐(0)
pat1061-1070
摘要: 1061 我想吐槽这题的题意不够清楚,不过下次得长记性,对于模糊的题意要大胆猜测,而不是固执己见 #include<iostream> #include<cstdio> #include<map> #include<cstring> using namespace std; char a[4][65
阅读全文
posted @ 2017-06-10 11:38 basasuya
阅读(105)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
16
下一页
公告