E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
cstdio
【HDU】1693 Eat the Trees
(n,m<=11) #include <
cstdio
> #include <cstring> #include <algorithm> using namespac
·
2015-11-13 11:55
tree
【POJ】2406 Power Strings
(长度<=1000000) #include <
cstdio
> #include <cstring> #include <algorithm> #include
·
2015-11-13 11:53
String
【POJ】3261 Milk Patterns
(1<=n<=20000, 2<=k<=n) #include <
cstdio
> #include <algorithm> using namespace
·
2015-11-13 11:52
Pattern
【POJ】1743 Musical Theme
id=1743 题意:不可重叠最长重复子串,n<=20000,具体看《后缀数组》-- 罗穗骞 #include <
cstdio
> #include <algorithm
·
2015-11-13 11:51
theme
【BZOJ】3319: 黑白树
2、将u到v的路径全部染成黑色 #include <
cstdio
> #include <cstring> #include <
·
2015-11-13 11:47
ZOJ
【BZOJ】1019: [SHOI2008]汉诺塔
#include <
cstdio
> #include <cstri
·
2015-11-13 11:47
2008
【BZOJ】3850: ZCC Loves Codefires(300T就这样献给了水题TAT)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:46
code
【BZOJ】1074: [SCOI2007]折纸origami
#include <
cstdio
> #include &l
·
2015-11-13 11:45
2007
【BZOJ】3809: Gty的二逼妹子序列
#include <
cstdio
> #include <c
·
2015-11-13 11:44
ZOJ
【BZOJ】1018: [SHOI2008]堵塞的交通traffic
个城市,则一共有c-1个格子,现在有q(q<=100000)个操作,操作Open和Close是将格子的四个角相邻的城市连边或删边,操作Ask是询问两个城市是否连通 #include <
cstdio
·
2015-11-13 11:43
2008
【POJ】1279 Art Gallery
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:42
gallery
【BZOJ】2178: 圆的面积并
id=2178 题意:给出n<=1000个圆,求这些圆的面积并 #include <
cstdio
> #include <cstring> #include <
·
2015-11-13 11:41
ZOJ
【UR #4】元旦三侠的游戏(博弈论+记忆化)
#include <
cstdio
> #include
·
2015-11-13 11:40
游戏
【BZOJ】1027: [JSOI2007]合金(凸包+floyd)
($n, m \le 500$) #include <
cstdio
> #include <cstring> #i
·
2015-11-13 11:39
floyd
【POJ】1151 Atlantis(线段树)
#include <
cstdio
> #include <cstring&g
·
2015-11-13 11:38
ant
【POJ】1113 Wall(凸包)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:36
poj
【POJ】1556 The Doors(计算几何基础+spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #inc
·
2015-11-13 11:36
SPFA
【POJ】2318 TOYS(计算几何基础+暴力)
(然而还是可以随便造出让我的code变成$O(n^2)$的23333) #include <
cstdio
> #include <cstring> #include <
·
2015-11-13 11:35
poj
【POJ】2653 Pick-up sticks(计算几何基础+暴力)
#include <
cstdio
> #include <cstri
·
2015-11-13 11:34
poj
【POJ】1269 Intersecting Lines(计算几何基础)
还好新的一年里1A了~~~~ #include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:34
intersect
【BZOJ】2152: 聪聪可可(点分治)
#include <
cstdio
> #include <cstring> #include
·
2015-11-13 11:27
ZOJ
【BZOJ】1082: [SCOI2005]栅栏(二分+dfs)
(n<=1000, m<=50) #include <
cstdio
> #include <cstring> #include <cmath&
·
2015-11-13 11:21
DFS
【BZOJ】1049: [HAOI2006]数字序列(lis+特殊的技巧)
(n<=35000, 数据随机) #include <
cstdio
> #
·
2015-11-13 11:20
ZOJ
【BZOJ】1089: [SCOI2003]严格n元树(递推+高精度/fft)
(0<n<=32, 0<=d<=16) #include <
cstdio
> #include <cstring> #include <cmath
·
2015-11-13 11:19
2003
【BZOJ】1014: [JSOI2008]火星人prefix(splay+hash+二分+lcp)
(总长度<=100000, 操作<=150000) #include <
cstdio
> #include <cstring> #include <cmath
·
2015-11-13 11:18
hash
【BZOJ】3709: [PA2014]Bohater(贪心)
#include <
cstdio
> #include <cstring> #include
·
2015-11-13 11:16
ZOJ
【BZOJ】2929: [Poi1999]洞穴攀行(最大流)
#include <
cstdio
> #include <cstring> #include <cmath> #include <s
·
2015-11-13 11:15
poi
【BZOJ】2435: [Noi2011]道路修建(树形dp)
我为嘛那么sb #include <
cstdio
> #include <cstring> #
·
2015-11-13 11:14
ZOJ
【BZOJ】2802: [Poi2012]Warehouse Store(贪心)
#include <
cstdio
> #include <
·
2015-11-13 11:13
store
【BZOJ】3223: Tyvj 1729 文艺平衡树(splay)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:12
play
【BZOJ】1927: [Sdoi2010]星际竞速(费用流)
(N<=800, M<=15000) #include <
cstdio
> #include <cstring> #in
·
2015-11-13 11:11
ZOJ
【BZOJ】1179: [Apio2009]Atm(tarjan+spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:10
SPFA
【BZOJ】1798: [Ahoi2009]Seq 维护序列seq(线段树)
#include <
cstdio
> #include <cstring> #include <cm
·
2015-11-13 11:08
线段树
【BZOJ】2818: Gcd(欧拉函数/莫比乌斯)
#include <
cstdio
> #incl
·
2015-11-13 11:07
ZOJ
【BZOJ】2875: [Noi2012]随机数生成器(矩阵乘法+快速乘)
#include <
cstdio
> #include <cstring> #include <
·
2015-11-13 11:05
2012
【BZOJ】1251: 序列终结者(splay)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string&
·
2015-11-13 11:03
play
【UOJ】【UR #2】猪猪侠再战括号序列(splay/贪心)
#include <
cstdio
> #include <cstring> #include <cmath> #include <s
·
2015-11-13 11:02
play
【BZOJ】3781: 小B的询问(莫队算法)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:02
ZOJ
【cf490】D. Chocolate(素数定理)
所以筛掉3后再筛2,然后判断面积是否等即可 #include <
cstdio
> #inc
·
2015-11-13 11:55
素数
【cf492】E. Vanya and Field(拓展欧几里得)
即解方程 $$a \times dx \equiv x(mod n)$$ 然后注意开long long #include <
cstdio
> #include <cstring
·
2015-11-13 11:53
Field
【cf492】D. Vanya and Computer Game(二分)
#include <
cstdio
> #include <cstring> #includ
·
2015-11-13 11:52
game
【BZOJ】2301: [HAOI2011]Problem b(莫比乌斯+分块)
#include <
cstdio
> #include
·
2015-11-13 11:47
ZOJ
【BZOJ】2179: FFT快速傅立叶(fft)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:44
ZOJ
cf490 C. Hacking Cypher(无语)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:41
cypher
【BZOJ】1024: [SCOI2009]生日快乐(dfs)
QAQ 然后暴力搜索每一次割的时候左边右边各有几块或者上边下边各有几块就行了QAQ #include <
cstdio
> #include <cstring> #i
·
2015-11-13 11:30
DFS
【BZOJ】1057: [ZJOI2007]棋盘制作(单调栈)
(表示也写过QAQ,原来那叫悬线法orz #include <
cstdio
> #
·
2015-11-13 11:26
2007
【BZOJ】1031: [JSOI2007]字符加密Cipher(后缀数组)
然后换了下模板,将基数排序放到外边 #include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:23
后缀数组
【BZOJ】1045: [HAOI2008]糖果传递(中位数)
id=1045 白书上有讲 没ac的坑点在,数据范围n<=1,000,000 #include <
cstdio
> #include <cstring> #include
·
2015-11-13 11:23
2008
【BZOJ】1034: [ZJOI2008]泡泡堂BNB(贪心)
输的情况就是2n-ans(b,a),因为总分是2n #include <
cstdio
> #include <cstring> #include <cmath>
·
2015-11-13 11:21
2008
【NOIP模拟题】Incr(dp)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:17
IP
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他