会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
swsyya
博客园
首页
新随笔
订阅
管理
上一页
1
···
23
24
25
26
27
28
29
30
31
···
36
下一页
2019年12月28日
CF865D Buy Low Sell High
该文被密码保护。
阅读全文
posted @ 2019-12-28 10:57 swsyya
阅读(3)
评论(0)
推荐(0)
编辑
B. Blocks
该文被密码保护。
阅读全文
posted @ 2019-12-28 09:36 swsyya
阅读(2)
评论(0)
推荐(0)
编辑
2019年12月27日
树堆(Treap)图文详解与实现
该文被密码保护。
阅读全文
posted @ 2019-12-27 22:28 swsyya
阅读(2)
评论(0)
推荐(0)
编辑
2019年12月26日
数据结构实验之查找二:平衡二叉树
摘要: 数据结构实验之查找二:平衡二叉树 AC_Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 struct node{ 4 int data,d; 5 struct node *l,*r; 6 }; 7 8 int max(int x,int y){ 9
阅读全文
posted @ 2019-12-26 19:45 swsyya
阅读(108)
评论(0)
推荐(0)
编辑
2019年12月10日
Cent Savings(简单dp)
该文被密码保护。
阅读全文
posted @ 2019-12-10 22:10 swsyya
阅读(1)
评论(0)
推荐(0)
编辑
2019年12月3日
P2127 序列排序(离散化)
该文被密码保护。
阅读全文
posted @ 2019-12-03 20:44 swsyya
阅读(1)
评论(0)
推荐(0)
编辑
P1667 数列(离散化+思维)
摘要: P1667 数列(离散化+思维) 对于一个区间【x,y】,设这个区间的总和Σa[i](从i==x 到 i==y)。 那么我们在前缀和(设为sum【i】)的意义上考虑到原操作其实就是sum【x-1】+= S,sum【x】+ S - S,sum【y】 -= S,sum【y+1】+ S - S。 而我们可
阅读全文
posted @ 2019-12-03 11:38 swsyya
阅读(157)
评论(0)
推荐(0)
编辑
P1955 [NOI2015]程序自动分析(离散化入门)
该文被密码保护。
阅读全文
posted @ 2019-12-03 09:58 swsyya
阅读(2)
评论(0)
推荐(0)
编辑
2019年11月29日
Apple Tree (dfs序+线段树)
摘要: Apple Tree (dfs序+线段树) 1 /*dfs+线段树(单点修改+区间查询)*/ 2 #include "iostream" 3 #include "vector" 4 #include "map" 5 #include "cstdio" 6 #include "cstring" 7 8
阅读全文
posted @ 2019-11-29 17:33 swsyya
阅读(89)
评论(0)
推荐(0)
编辑
DFS序
摘要: 转自:https://blog.csdn.net/qq_36368339/article/details/79236467 树通常有多种类型,但其终归是非线性结构,操作起来有时总是那么费时。 例如:POJ 3321给你一棵树,树上每个节点都有1个苹果,然后你对一个节点操作,如果有苹果就拿走,没苹果就
阅读全文
posted @ 2019-11-29 15:34 swsyya
阅读(96)
评论(0)
推荐(0)
编辑
上一页
1
···
23
24
25
26
27
28
29
30
31
···
36
下一页
公告
回到顶部