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
string.h
hdu 4160 Dolls (最大独立)
#include"stdio.h" #include"
string.h
" #include"stdlib.h" #defineN501 structnode { inta,b,c; }aa[N]; intmap
yyf573462811
·
2012-08-03 16:00
hdu 2119 Matrix (最小覆盖)
#include"stdio.h" #include"
string.h
" #defineN101 intmap[N][N],v[N],link[N]; intn,m; intdfs(intk) { inti
yyf573462811
·
2012-08-03 15:00
hdu 1528 Card Game Cheater (最小覆盖)
让找出B最多能的多少分首先对牌的字符串全部转化成十进制数,然后以数字为点,B集合元素相对于A集合数字的大小关系为边,显然是典型的最小顶点覆盖问题 #include"stdio.h" #include"
string.h
yyf573462811
·
2012-08-03 14:00
c
hdu 1179 Ollivanders: Makers of Fine Wands since 382 BC. (二分匹配)
#include"stdio.h" #include"
string.h
" #defineN101 intmap[N][N],v[N],link[N],n,m; intdfs(intk) { inti;
yyf573462811
·
2012-08-03 08:00
hdu 1151 Air Raid (二分匹配)
//最小路径覆盖数=顶点数-最大匹配数requiredtovisitalltheintersectionsinthetown.说明是求最小路径覆盖#include"stdio.h" #include"
string.h
yyf573462811
·
2012-08-02 19:00
hdu 1083 Courses (最大匹配)
#include"stdio.h" #include"
string.h
" intmap[301][301],v[301]; intmark[301],link[301]; intP,N; intdfs(
yyf573462811
·
2012-08-02 17:00
hdu 1054 Strategic Game (二分匹配)
#include"stdio.h" #include"
string.h
" intmap[1501][1501],mark[1501]; intlink[1501],v[1501]; intn; intdfs
yyf573462811
·
2012-08-02 16:00
ini
poj 3041 Asteroids (二分匹配)
#include"stdio.h" #include"
string.h
" intmap[501][501],v[501],mark[501],link[501]; intn,k; intdfs(intk
yyf573462811
·
2012-08-02 15:00
hdu 2063 过山车 (二分匹配)
套的模版#include"stdio.h" #include"
string.h
" intmap[501][501],v[501],link[501]; intg,k,m,count; voidget_map
yyf573462811
·
2012-08-02 15:00
使用memset、memcpy等函数需要包含
string.h
而不是strings.h
问题:frm_package.c中调用了memset()和memcpy()函数,但是没有包含相应的头文件,编译时出现错误:dingq@wd-u1110:~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket/isocket$makegcc-g3-Wall-o0-cnettrans.c-onettrans.ogcc-g3-Wall-o0-ctcpcli
david_xtd
·
2012-08-02 15:21
Linux
编译
C/CPP函数
使用memset、memcpy等函数需要包含
string.h
而不是strings.h
问题:frm_package.c中调用了memset()和memcpy()函数,但是没有包含相应的头文件,编译时出现错误:dingq@wd-u1110:~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket/isocket$make gcc-g3-Wall-o0-cnettrans.c-onettrans.o gcc-g3-Wall-o0-ctcpc
David_xtd
·
2012-08-02 15:00
Date
function
工具
each
hdu 1286找新朋友 (简单数学题)
点击打开链接第一次暴力求解,tle#include"stdio.h" #include"
string.h
" intfun(intx,inty) { while(x>y?
yyf573462811
·
2012-08-01 20:00
hdu 1072 Nightmare (bfs)
炸弹的时间是6,人走一步所需要的时间是1求人从2走到3的最短时间#include"stdio.h" #include"
string.h
" #include"queue" usingnamespacestd
yyf573462811
·
2012-08-01 16:00
hdu 4313 Matrix (最小生成树krusual)
#include"stdio.h" #include"stdlib.h" #include"
string.h
" intmark
yyf573462811
·
2012-08-01 14:00
c
算法
struct
merge
Matrix
C/C++字符串查找函数
C/C++string库(
string.h
)提供了几个字符串查找函数,如下:memchr在指定内存里定位给定字符strchr在指定字符串里定位给定字符strcspn返回在字符串str1里找到字符串str2
blueskiner
·
2012-08-01 08:00
hdu 1548 A strange lift (bfs)
#include"stdio.h" #include"
string.h
" #include"queue" usingnamespacestd; structnode { intx,step; }q,p;
yyf573462811
·
2012-07-31 18:00
POJ 3626 Mud Puddles (BFS)
#include"stdio.h" #include"
string.h
" #include"queue" usingnamespacestd; intd[4][2]={1,0,0,1,-1,0,0,-1
yyf573462811
·
2012-07-31 18:00
hdu1166
sohappy滴~O(∩_∩)O~ 也是自学滴哦~ 思路什么的就不用我废话了吧 2012-07-06*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-31 16:00
search
insert
poj 1679 The Unique MST (最小生成树)
#include"stdio.h" #include"
string.h
" #defineINF999999999 intmap[101][101],mark[101],f[101],n; voidprime
yyf573462811
·
2012-07-31 15:00
poj 2377 Bad Cowtractors (最‘大’生成树)
点击打开链接最小生成树的变形,最大生成树#include"stdio.h" #include"math.h" #include"
string.h
" #defineINF0 intmap[1001][1001
yyf573462811
·
2012-07-31 11:00
poj 3625 Building Roads (最小生成树)
点击打开链接坐标类型的最小生成树注意,所有的距离用double,所有的int用__int64#include"stdio.h" #include"math.h" #include"
string.h
" #
yyf573462811
·
2012-07-31 11:00
ini
zoj 1586 QS Network (最小生成树)
#include"stdio.h" #include"
string.h
" #defineINF1000000000 intmark[1001],f[1001],n,map[1001][1001]; voidprime
yyf573462811
·
2012-07-31 09:00
poj1258 Agri-Net (最小生成树prime)
prime,模版点击打开链接#include"stdio.h" #include"
string.h
" #defineINF9999999 intmap[101][101],f[101],mark[101
yyf573462811
·
2012-07-31 07:00
poj 2485Highways (求最长路)
#include"stdio.h" #include"
string.h
" #defineINF9999999 intmap[501][501],f[501],mark[501],n; voidprime
yyf573462811
·
2012-07-31 07:00
poj 2395 Out of Hay (最小生成树的最大边)
#include"stdio.h" #include"
string.h
" #defineINF0x7fffffff//不能过小!!
yyf573462811
·
2012-07-31 07:00
C语言--字符处理函数
用于输入输出的字符串函数,在使用前应包含头文件"stdio.h",使用其它字符串函数则应包含头文件"
string.h
"。下面介绍几个最常用的字符串函数。1.
Junin
·
2012-07-31 01:00
poj 2533 Longest Ordered Subsequence (最长子序列)
点击打开链接简单最长子序列模版#include"stdio.h" #include"
string.h
" intdp[1010]; intmain() { inti,j; intn; inta[1010]
yyf573462811
·
2012-07-30 19:00
ini
【算法】 大整数乘法
2.1POJ1001源代码:1001Accepted164K0MSC++1803B2012-07-3009:49:00#include"stdio.h" #include"stdlib.h" #include"
string.h
lifehack
·
2012-07-30 11:00
存储
ini
input
output
poj2421 Constructing Roads (prime)
本来用krusual写的,但总是不对,只好改prime了#include"stdio.h" #include"
string.h
" #defineINF99999999 intmap[101][101],
yyf573462811
·
2012-07-30 11:00
gets() 和 sets()
而使用其他的字符串处理函数时,要用#include命令将“
string.h
”头文件包含到源文件中。
chenhq1991
·
2012-07-29 15:00
c
存储
语言
终端
hdu 1171 Big Event in HDU (母函数)
#include"stdio.h" #include"stdlib.h" #include"
string.h
" structnode {
yyf573462811
·
2012-07-28 10:00
c
wcscpy wcscpy_s strcpy strcpy_s的区别
原型声明:externchar*strcpy(char*dest,constchar*src);头文件:
string.h
功能:把从src地址开始且含有NULL结束符的字符串赋值到以dest开始的地址空间说明
coder
·
2012-07-20 09:49
C/C++
wcscpy wcscpy_s strcpy strcpy_s的区别
原型声明:externchar*strcpy(char*dest,constchar*src);头文件:
string.h
功能:把从src地址开始且含有NULL结束符的字符串赋值到以dest开始的地址空间说明
mengxiangbaidu
·
2012-07-20 09:00
c
null
语言
HDU 3068 ( 最长回文 )
+Author:ssun CodeRenderStatus:RenderedByHDOJC++CodeRenderVersion0.01Beta #include"stdio.h" #include"
string.h
ssun125
·
2012-07-18 18:00
C++
算法
基于二叉排序树写的通讯录
#include"stdio.h" #include"stdlib.h" #include"
string.h
" /********************************************
Self_Chou
·
2012-07-17 22:00
hdu3172
用字典树给单词编号,用并查集~……,不用说了吧~,你懂我懂大家懂的事儿~--I 2012-07-17*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-17 16:00
hdu2473
2012-07-17*/#include"stdio.h" #include"
string.h
" intextra; structA { intpre; intrep; }E[1100011]; inthash
Ice_Crazy
·
2012-07-17 11:00
hdu2647
15就够了…… 逆向拓扑排序,关系递推,注意有一个环节要取最大值哦~ 2012-07-17*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-17 08:00
hdu1116
2012-07-16*/#include"stdio.h" #include"
string.h
" intset[30]; voidbuild(n) { inti; for(i=1;i1){printf
Ice_Crazy
·
2012-07-16 19:00
hdu1325
/*分析: 并查集,水水更健康~ 2012-07-16*/#include"stdio.h" #include"
string.h
" intset[1011]; intindegree
Ice_Crazy
·
2012-07-16 16:00
hdu1829
2012-07-16*/#include"stdio.h" #include"
string.h
" intset[2011]; intsex[2011]; voidbuild(intn) { inti
Ice_Crazy
·
2012-07-16 15:00
hdu2708
2012-07-16 */#include"stdio.h" #include"
string.h
" intmain() { in
Ice_Crazy
·
2012-07-16 14:00
hdu4160
2012-07-14*/#include"stdio.h" #include"
string.h
" structA { inttotal; intmem[555]; }E[555]; structB
Ice_Crazy
·
2012-07-14 16:00
hdu2119
2012-07-14*/#include"stdio.h" #include"
string.h
" structA { inttotal; intmem[111]; }E[111]; intmatch
Ice_Crazy
·
2012-07-14 14:00
双链表实现简单的学生管理系统
#include#include"stdlib.h"#include"
string.h
"/**************************************************** copyright
Self_Chou
·
2012-07-14 12:00
循环双链表加目录IO实现简单的文件检索
#include"stdio.h" #include"stdlib.h" #include"fcntl.h" #include"dirent.h" #include"
string.h
" typedefstructdoublelink
Self_Chou
·
2012-07-14 12:00
hdu1151
DAG图的最小路径覆盖数=节点数(n)-最大匹配数(m) 2012-07-13*/#include"stdio.h" #include"
string.h
"
Ice_Crazy
·
2012-07-13 15:00
hdu1150
写出来了,so~highp~ 二分图的最小顶点覆盖数=二分图的最大匹配数 2012-07-13*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-13 14:00
hdu1503
2012-07-11*/#include"stdio.h" #include"
string.h
" intdp[111][111]; intpre[111][111]; charstr1[111],str2
Ice_Crazy
·
2012-07-11 15:00
hdu2063
/*分析: 写的第一道二分匹配,二分匹配中的水题~ 2012-07-11*/#include"stdio.h" #include"
string.h
" structA
Ice_Crazy
·
2012-07-11 12:00
上一页
35
36
37
38
39
40
41
42
下一页
按字母分类:
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
其他