V2AS
问路
意见反馈
↓ 按住下拉
LuoguAT2827 LIS (LIS)
裸题 include <iostream> include <cstdio> include <cstring> include <algorithm> include <cmath> define R(a,b,c) for(register int a = (b); a <= ( ......
LIS
define
序列
int
len
Luogu3919 【模板】可持久化数组(主席树)
主席树模板题,注意空间\((n+m) \log(n)\) include <iostream> include <cstdio> include <cstring> include <algorithm> include <cmath> define R(a,b,c) ......
int
define
rt
root
数组
Luogu2986 [USACO10MAR]伟大的奶牛聚集 (树形DP)
有点权的重心,拆掉点dfs不就是了吗 //include <iostream> include <cstdio> include <cstring> //include <algorithm> //include <cmath> define R(a,b,c) ......
int
define
奶牛
USACO10MAR
long
LuoguP2523 [HAOI2011]Problem c(概率DP)
傻逼概率\(DP\),熊大坐这,熊二坐这,两熊体积从右往左挤,挤到\(FFF\)没座位了就不合理了 否则就向左歇斯底里爬,每个\(FFF\)编号就组合一下,完闭 include <iostre ......
define
Problem
int
HAOI2011
ATP
Luogu3426 [POI2005]SZA-Template (KMP)(未完成)
未理解透,鬼知道怎么A的 蒟蒻交了个乱猜贪心搞了10pts,一翻题解群佬乱舞,最后DP解决 $\exists i - next[i] <= j, f[j] = f[next[i]] $ include <iostream> inc ......
define
KMP
int
Template
nxt
「vijos-bashu」lxhgww的奇思妙想(长链剖分)
倍增离线,预处理出爹和孙子们。查询\(O(1)\) include <cstdio> include <cstring> include <numeric> include <cmath> include <algorithm> include <iostr ......
int
define
剖分
长链
ATP
BZOJ3295/Luogu3157 [CQOI2011]动态逆序对 (CDQ or 树套树 )
/* Dear friend, wanna learn CDQ? As a surprice, this code is totally wrong. You may ask, then why you put it on your blog, are you fucking crazy with ......
int
逆序
rt
Cqoi2011
long
TCP/IP、Http的区别--(转自任智康)
TPC/IP协议是传输层协议,主要解决数据如何在网络中传输,而HTTP是应用层协议,主要解决如何包装数据。关于TCP/IP和HTTP协议的关系,网络有一段比较容易理解的介绍:“ ......
TCP
HTTP
IP
协议
请求
Luogu3379 【模板】最近公共祖先(LCA) (倍增LCA)
蒟蒻又来复习模板了。还WA了两次 include <iostream> include <cstdio> include <cstring> include <algorithm> include <cmath> define R(a,b,c) for(regi ......
int
LCA
祖先
公共
define
ZOJ 3537 (凸包 + 区间DP)(UNFINISHED)
include "Head.cpp" const int N = 10007; int n, m; struct Point{ int x,y; bool operator < (const Point &com) const{ if(y != com.y) ret ......
int
sta
Point
define
return
V2AS = Way To Ask
V2AS 一个技术分享与创造的静土
手机扫一扫
移动阅读更方便
近15日热搜文章
Paxos协议超级详细解释+简单实例
Linux下VCS2014和Verdi2015的联合使用
Linux下安装ffmpeg,视频格式转换
4
Arduino 看门狗使用
5
UPX源码分析——加壳篇
6
Knockout.Js官网学习(数组observable)
7
华为路由交换综合实验 ---IA阶段
8
查看显卡报错:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
9
linux下生成动态库和链接动态库
10
Kanboard 看板工具配置使用