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
cstdlib
HDU 3746 Cyclic Nacklace KMP
3746 KMP算法—— AC代码: #include <iostream> #include <cstdio> #include <
cstdlib
·
2015-11-12 17:14
HDU
HDU 1358 Period KMP
求周期问题,简单KMP—— AC代码: #include <iostream> #include <cstdio> #include <
cstdlib
·
2015-11-12 17:06
HDU
10716 - Evil Straw Warts Live
描述:把所给的字符串变换成回文,并统计其变换次数,如果不能,则输出Impossible #include <cstdio> #include <
cstdlib
> #include
·
2015-11-12 17:41
live
POJ-2001-Shortest Prefixes
就输出该字符串 用字典树即可 #include<iostream> #include<cstdio> #include<cstring> #include<
cstdlib
·
2015-11-12 17:26
test
C++产生随机数
头文件:
cstdlib
相关函数:srand(),rand() srand函数是随机数发生器的初始化函数。
·
2015-11-12 16:52
C++
线性表的2种实现方式:数组和链表
1 #ifndef LINEARLIST_H 2 #define LINEARLIST_H 3 #include<iostream> 4 #include<
cstdlib
·
2015-11-12 16:49
线性表
hdu 3756 Dome of Circus(三分)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:54
dom
hdu 2289 cup(二分搜索)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:53
HDU
hdu 1712 ACboy needs your help(分组背包)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:51
help
hdu 1133 Buy the Ticket(大数运算)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:50
HDU
hdu 1130 How Many Trees?(卡特兰数)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:48
tree
UVA 11584 Partitioning by Palindromes
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:45
partition
hdu 1175 连连看(dfs+剪枝)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:42
HDU
hdu 4031 Attack(树状数组)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:40
树状数组
poj 1195 Mobile phones(二维树状数组)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:39
mobile
poj 1753 Flip Game(枚举)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:38
game
hdu 4417 Super Mario(树状数组+离线处理)
1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:37
super
poj 1273 Drainage Ditches(网络流基础)
1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:35
poj
zoj 2671 Cryptography(矩阵+线段树)
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:34
Cryptography
SRM 556 DIV2
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:33
div
hdu 4027 Can you answer these queries?
View Code 1 #include<cstdio> 2 #include<
cstdlib
> 3 #include<cstring> 4 #include
·
2015-11-12 16:32
HDU
poj 3368 Frequent values
1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:30
value
hdu 1068 Girls and Boys
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:29
HDU
poj 2239 Selecting Courses
Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:28
select
poj 3348 Cows
Code 1 /* 2 Coder:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:27
poj
poj 1113 Wall
Code 1 /* 2 Coder:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <
cstdlib
·
2015-11-12 16:27
poj
HDU 2202 最大三角形
题解:先算出凸包,然后枚举凸包上的点计算即可 #include <cstdio> #include <cmath> #include <
cstdlib
> #include
·
2015-11-12 16:12
HDU
一些常用的C++标准函数
一些常用的C++标准函数 double atof(const char* p); int atoi(const char* p); long atol(const char* p);
cstdlib
·
2015-11-12 15:58
C++
HDU 1622
二叉树层次遍历的例题,层次遍历用bfs,建立二叉树,很基础的题目 #include <iostream> #include <cstdio> #include <
cstdlib
·
2015-11-12 14:51
HDU
HDU 1429
经典的找钥匙开门走迷宫问题,把钥匙状态压缩一下,然后对迷宫bfs #include <iostream> #include <cstdio> #include <
cstdlib
·
2015-11-12 14:51
HDU
从一道面试题看深拷贝、浅拷贝构造函数问题
View Code #include <iostream> #include <
cstdlib
> #include <vector> using namespace
·
2015-11-12 14:08
构造函数
FZU 2150 Fire Game --两点同步搜索
iostream> #include <cstdio> #include <cstring> #include <cmath> #include <
cstdlib
·
2015-11-12 14:45
game
等差数列连续异或模板
网上找的模板,还不太懂,改了下,先留着 #include <cstdio> #include <ctime> #include <
cstdlib
>
·
2015-11-12 14:56
模板
凸包---HDU 2202
上面会超时的 #include<iostream> #include<cmath> #include<cstdio> #include<
cstdlib
·
2015-11-12 14:24
HDU
poj1007 qsort快排
(不稳定意思就是张三、李四成绩都是90,张三成绩在前;排序完毕后有可能变成李四的90在前,张三在后) 2、需要包含头文件:
cstdlib
3、原型:void qsort(void *base,int
·
2015-11-12 13:02
sort
poj3014
View Code #include <iostream>#include <
cstdlib
>#in
·
2015-11-12 13:03
poj
poj3051
bfs View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:03
poj
poj2959
简单解析几何 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:01
poj
poj2895
简单题 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:59
poj
poj2876
简单分型题 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:58
poj
poj2892
树状数组+二分 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:58
poj
poj2800
View Code #include <iostream>#include <
cstdlib
>#i
·
2015-11-12 13:56
poj
poj2704
简单dp View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:55
poj
poj2643
简单题 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:53
poj
poj2653
迭代器的写法是:vector< >::iterator i; View Code #include <iostream>#include <
cstdlib
·
2015-11-12 13:53
poj
poj2610
简单题 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:52
poj
poj2576
动态规划 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:51
poj
poj2572
简单题 View Code #include <iostream>#include <
cstdlib
>#include <cstring>#include
·
2015-11-12 13:50
poj
poj3508
,如果是0就是impossible 简单题 View Code #include <iostream>#include <cstdio>#include <
cstdlib
·
2015-11-12 13:49
poj
poj1502
View Code #include < iostream > #include < cstdio > #include <
cstdlib
·
2015-11-12 13:48
poj
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
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
其他