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
stdlib
HDU 2844 Coins 多重背包
该题是母函数的变种,也是一种多重背包问题,由于写了几篇这样的,所以就不重累述了,如果不懂可以看一下背包九讲; #include<stdio.h> #include<
stdlib
.h
·
2015-11-02 18:59
HDU
HDU 1059 Dividing 多重背包
代码如下: #include<stdio.h> #include<
stdlib
.h> int DP( int val[], int N ) { int f[100024
·
2015-11-02 18:58
div
HDU 1114 Piggy-Bank
=inf应为一相等就与背包一定要满的条件相矛盾; #include<stdio.h> #include<
stdlib
.h> const int inf=0x
·
2015-11-02 18:57
pig
HUD 1285 确定比赛名次
的节点但节点并没有完全找出,则该排名失败了; 由于没有图,不好解释,建议你去看一下数据结构,我这里实现的是链表的方法: #include<stdio.h> #include<
stdlib
.h
·
2015-11-02 18:57
HDU 1203 I NEED A OFFER! 简单DP
#include<stdio.h> #include<
stdlib
.h> float DP( int money[],float a[], int N ,i
·
2015-11-02 18:55
HDU
HUT OJ 1567 折纸
#include<stdio.h> #include<
stdlib
.h> typedef struct s
·
2015-11-02 18:53
OJ
【单源最短路模板】 poj 2387
#include <cstdio> #include <iostream> #include <
stdlib
.h> #include <memory.h&
·
2015-11-02 17:32
poj
【单源最短路】dijstra poj 1502
#include <cstdio> #include <iostream> #include <
stdlib
.h> #include <
·
2015-11-02 17:22
poj
【最短路】 poj 2387
#include <iostream> #include <
stdlib
.h> #include <limits.h> #include <string.h
·
2015-11-02 17:17
poj
Linux下使用多线程模拟异步网络通信
12-15 CopyRight (c) arbboter */ #include <unistd.h> #include <stdio.h> #include <
stdlib
.h
·
2015-11-02 17:13
linux
栈
栈的类实现 #include<iostream> #include<
stdlib
.h> const int MaxStackSize = 50; class Stack
·
2015-11-02 17:41
栈
c语言线性表
1 #include<stdio.h> 2 #include<time.h> 3 #include<
stdlib
.h> 4 #define MAXSIZE
·
2015-11-02 17:19
C语言
c语言题目:找出一个二维数组的“鞍点”,即该位置上的元素在该行上最大,在该列上最小。也可能没有鞍点
2 // 3 #include "stdio.h" 4 #include <
stdlib
.h> 5 int main() 6 { 7 int
·
2015-11-02 17:19
二维数组
利用栈进行表达式的求值
1 #include <stdio.h> 2 #include <string.h> 3 #include <
stdlib
.h> 4 #include <
·
2015-11-02 17:06
表达式
POJ 1007
1 #include <stdio.h> 2 #include <
stdlib
.h> 3 4 char d[100][51]; 5 struct node 6 { 7 int
·
2015-11-02 17:04
poj
POJ 1002
#include <stdio.h> #include <
stdlib
.h> #include <ctype.h> #include <string.h&
·
2015-11-02 17:00
poj
Linux中pthread_detach()线程注意
三、实例 #include <
stdlib
.h> #include <string.h> #include <unistd.h>
·
2015-11-02 17:21
pthread
Linux上编程获取本机IP地址(而不是127.0.0.1)
http://blog.sina.com.cn/s/blog_4065d7370100075l.html 具体代码如下:#include <stdio.h>#include <
stdlib
.h
·
2015-11-02 17:20
linux
C语言内存分配函数
c语言标准库提供了3个内存分配的函数,都包含在头文件<
stdlib
.h>中 1、malloc 函数原型: void *malloc( size_t
·
2015-11-02 17:25
内存分配
VC控制台程序结束后暂停
但是换到在VC2005中编写的控制台程序,点击运行后,控制台一运行完就关闭了,看不到运行的结果,解决办法如下: 1、#include<
stdlib
.h>
·
2015-11-02 16:28
控制台
分页导航算法
php写起来不太好,算法还是用C或C++写起来方便些: #include <stdio.h> #include <
stdlib
.h> void out_put(int start
·
2015-11-02 16:48
算法
二叉树的基本操作
#include<stdio.h> //' '空格代表树的元素为空 #include<
stdlib
.h> #define OVERFLOW -1 typedef char
·
2015-11-02 16:05
基本操作
POJ 1251 Jungle Roads
View Code #include <stdio.h>#include <
stdlib
.h>struct Edge{ int v,u; int val;
·
2015-11-02 16:44
poj
C字符串排序
#include<stdio.h> #include <
stdlib
.h> void compare(char str[100],int length) { int
·
2015-11-02 16:48
字符串
冒泡,快速,和堆排序
1 // 主程序 (.cpp文件) 2 #include <stdio.h> 3 #include <time.h> 4 #include <
stdlib
.h
·
2015-11-02 16:03
堆排序
让多核CPU占用率曲线听你指挥(Linux实现)——《编程之美》1.1继续学习
#include <time.h> #include <sys/time.h> #include <unistd.h> #include<
stdlib
.h>
·
2015-11-02 15:56
linux
越南小学三年级一道数学题解答
#include<iostream> #include<
stdlib
.h> #include<fstream> #include<time.h>
·
2015-11-02 15:44
题解
C++生成随机数
RAND_MAX定义在
stdlib
.h, 其值为2147483647。 运行结果如下: 看上去结果是不错的,然而
·
2015-11-02 15:41
C++
vc生成MIF文件,ROM使用
1 #include <stdio.h> 2 #include <string.h> 3 #include"
stdlib
.h" 4 5 unsigned
·
2015-11-02 15:06
ROM
PKU1151线段树解法
这题不用线段树也可以过 #include < stdio.h > #include < string .h > #include <
stdlib
.h
·
2015-11-02 15:35
线段树
zju1484
#include < iostream > #include < math.h > #include < iomanip > #include <
stdlib
.h
·
2015-11-02 15:14
C格式化输入输出
先附上示例源码: #include <stdio.h>#include <
stdlib
.h>int main(int argc, char *argv
·
2015-11-02 15:08
格式化
hdu 3030 Increasing Speed Limits
树状数组+DP code: View Code 1 # include<stdio.h> 2 # include<string.h> 3 # include<
stdlib
.h
·
2015-11-02 15:39
limit
AVL树(三)
#include "AVL.h" #include "IntClass.h" #include <time.h> #include <
stdlib
.h
·
2015-11-02 14:03
树
Map中放置类指针并实现调用
* Created on: Oct 28, 2013 * Author: Sam.Nie */ #include <stdio.h> #include <
stdlib
.h
·
2015-11-02 14:14
map
图的基本算法实现(邻接矩阵与邻接表两种方法)
图及其遍历 一、无向图 1 无向图——邻接矩阵 测试环境:VS2008 #include "stdafx.h" #include <
stdlib
.h
·
2015-11-02 14:07
算法
Kernel Application
Kernel Application 是 Erlang 第一个启动的应用程序,基于OTP, Kernel and
STDLIB
, 主要包含以下服务: 可以运行appmon:start
·
2015-11-02 14:34
application
斐波那契数列
代码如下: 2 3 #include<iostream> 4 #include<
stdlib
.h> 5 usin
·
2015-11-02 14:14
列
NEUOJ 1117
View Code 1 //方法一:用数组模拟队列 2 #include <iostream> 3 #include<stdio.h> 4 #include<
stdlib
.h
·
2015-11-02 13:20
OJ
UESTC 1598 兰斯的后宫计划
这道题可以用线段树来求解,当然,如果给的数据没有负值,同样可以用二分的思想去做,效率和线段树差不多 View Code 1 #include<stdio.h> 2 #include<
stdlib
.h
·
2015-11-02 13:19
计划
XDU 1138 祯爷的苹果
View Code 1 #include<stdio.h> 2 #include<
stdlib
.h> 3 #include<string.h> 4 #include
·
2015-11-02 13:19
苹果
读写锁
*/ #include <errno.h> #include <pthread.h> #include <stdio.h> #include <
stdlib
.h
·
2015-11-02 13:04
读写锁
sdut 2498【aoe 网上的关键路径】
problemid=2498 代码超时怎么破: 1 #include<stdio.h> 2 #include<string.h> 3 #include<
stdlib
.h
·
2015-11-02 13:37
路径
存包练习
1 #include<stdio.h> 2 #include<
stdlib
.h> 3 #include<time.h> 4 #define N 28
·
2015-11-02 13:25
包
Bestcoder Round#45
相邻的1称为1组, 直接位运算摸你即可 1 #include <stdio.h> 2 #include <string.h> 3 #include <
stdlib
.h
·
2015-11-02 13:10
round
Codeforces Round#308
看样例就知道要求什么, 水过去 1 #include <stdio.h> 2 #include <string.h> 3 #include <
stdlib
.h
·
2015-11-02 13:09
codeforces
hdu2544(自己实现优先队列)
,用来测试自己实现优先队列对不对 1 #include <stdio.h> 2 #include <string.h> 3 #include <
stdlib
.h
·
2015-11-02 13:55
优先队列
Fedora12中默认的kdevelop自带例子编译停在连接XX(libtool)那里
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <
stdlib
.h
·
2015-11-02 13:15
fedora
编译原理实验(算符优先文法)
work.h 1 #include < iostream > 2 #include <
stdlib
.h >  
·
2015-11-02 12:13
编译原理
花费时间较多的poj 01
1 #include <stdio.h> 2 #include <
stdlib
.h> 3 int main() 4 { 5 char a[99],
·
2015-11-02 12:28
poj
上一页
72
73
74
75
76
77
78
79
下一页
按字母分类:
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
其他