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
二叉树遍历的非递归实现
二叉树的非递归实现需要使用到下推栈,下面给出前序遍历的完整代码: 1 #include <stdio.h> 2 #include <
stdlib
.h> 3 #define
·
2015-11-12 14:27
二叉树
数据结构--二叉树的基本编码(原创)
先建立二叉树类的相关代码如下: #include <iostream> #include <math.h> #include <
stdlib
.h> using
·
2015-11-12 14:18
数据结构
C模拟实现C++的多态
View Code // c语言模拟多态性 #include "stdio.h" #include "
stdlib
.h" enum ShapeType
·
2015-11-12 14:07
C++
C++:memset ,memcpy 和strcpy 的根本区别!
#include <stdio.h> #include <
stdlib
.h> #include <string.h> #include <assert.h
·
2015-11-12 14:25
C++
C++中数组的普通移位和循环移位
程序如下: View Code #include <iostream>#include <
stdlib
.h>using namespace std;int s[11]
·
2015-11-12 14:27
C++
RPC简单使用
string) = 1;4 } = 1;5 } = 0x30000000; test_local.c 1 #include <stdio.h> 2 #include <
stdlib
.h
·
2015-11-12 14:21
rpc
2.4 N到1中1的数目
1 #include <iostream> 2 using namespace std; 3 4 #include <
stdlib
.h> 5 #include <sys
·
2015-11-12 14:13
2.3发帖水王
1 #include <iostream> 2 using namespace std; 3 4 #include <
stdlib
.h> 5 #include <sys
·
2015-11-12 14:12
2.2阶乘末尾0的个数,最低位1的位置
0的个数 1 #include <iostream> 2 using namespace std; 3 4 #include <
stdlib
.h> 5 #include
·
2015-11-12 14:11
阶乘
2.1二进制数中1的个数
1 #include <iostream> 2 using namespace std; 3 4 #include <
stdlib
.h> 5 #include <sys
·
2015-11-12 14:11
二进制
ACM Binary String Match
#include <stdio.h> #include <string.h> #include <
stdlib
.h> void SubString(char sub
·
2015-11-12 14:24
String
已知先序和中序,求后序
即先序的第一个元素, 然后从中序中找到它的位置,以确定左右孩子,即它的左右两边的元素 依次递归 #include <stdio.h> #include <
stdlib
.h
·
2015-11-12 14:24
C宏定义的小结
实现代码实例 程序代码: #include <stdio.h> #include <
stdlib
.h> #include <sys/types.h>
·
2015-11-12 14:10
小结
申请内存的问题
************************有bug的程序****************************/ #include <stdio.h> #include <
stdlib
.h
·
2015-11-12 14:37
内存
poj1860Currency Exchange(bell_fordmoban)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:16
Exchange
Codeforces Round #215 (Div. 1) B
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:12
codeforces
Codeforces Beta Round #97 (Div. 1)
#include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:10
codeforces
URAL1091. Tmutarakan Exams(容斥)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:09
tar
URAL1748. The Most Complex Number
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:07
number
URAL1355. Bald Spot Revisited
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:05
vi
URAL1049. Brave Balloonists
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:04
OO
hdu3270Arranging Your Team(dfs)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:01
HDU
URAL1291. Gear-wheels
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:59
EL
hdu4422The Little Girl who Picks Mushrooms
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:58
oom
hdu4430Yukari's Birthday(二分)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:58
birt
hdu4760Good Firewall
#include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:56
HDU
1427. SMS(DP)
#include <iostream> 2 #include<cstdio> 3 #include<algorithm> 4 #include<
stdlib
.h
·
2015-11-12 14:55
sms
MemSQL start[c]up Round 2 - online version(DP)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:53
version
1287. Mars Canals(DP)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-12 14:53
canal
数据结构--线段树--成段更新(poj 3468 裸题)
include "stdio.h" //线段树成段更新 poj 3468 2 #include "string.h" 3 #include "
stdlib
.h
·
2015-11-12 14:43
数据结构
hdu 1811 二分+并查集
2 #include "
stdlib
.h" 3 #include "algorithm" 4 using namespace std; 5 #define
·
2015-11-12 14:42
HDU
最短路 kruskal模板
include "stdio.h" //最短路 Kruskal算法 存边,排序,并查集合并,直至要求的两点相通,输出最小结果 //hdu 1233 #include "
stdlib
.h
·
2015-11-12 14:39
最短路
字符串_字典树(模板 hdu 1251)
include "stdio.h" // 字典树模板题 hdu 1251 2 #include "string.h" 3 #include "
stdlib
.h
·
2015-11-12 14:37
字符串
nyoj 38 布线问题
代码: #include "stdio.h" // 最小生成树 Kruskal #include "string.h" #include "
stdlib
.h
·
2015-11-12 14:08
问题
C指针
,把修改后 的源代码递交给编译器; 预处理器用stdio.h的库函数头文件的内容替代第一条# standard I/O library; EXIT_SUCCESS,EXIT_FAILURE;
stdlib
.h
·
2015-11-12 13:37
指针
HDU4551
/* 简单题 */ #include<stdio.h> #include<string.h> #include<
stdlib
.h> #include
·
2015-11-12 13:51
HDU
qsort的陷阱
程序,为什么在compare_strings中使用return strcmp(p, q);就无法正确排序 1 #include <string.h> 2 #include <
stdlib
.h
·
2015-11-12 13:14
sort
linkedlist(c语言_简单实现)
1 #include<
stdlib
.h> 2 typedef char Ele ; 3 4 typedef struct node{ 5 Ele e; 6
·
2015-11-12 13:54
LinkedList
arraylist(c语言_简单实现)
1 /** 2 * 3 * ArrayList c语言实现 4 * 5 * 6 * */ 7 8 9 #include<
stdlib
.h>
·
2015-11-12 13:53
ArrayList
C语言课程设计—图书管理系统
C源码例如以下: #include<stdio.h> #include<
stdlib
.h> #include<string.h
·
2015-11-12 13:08
C语言
HDU2005-第几天
代码: #include<stdio.h> #include<string.h> #include<iostream> #include<
stdlib
.h
·
2015-11-12 13:34
HDU
Linux学习之线程封装六:基于模板的面向方面的封装(三个方面)
View Code #include<pthread.h>#include<iostream>#include<unistd.h>#include<
stdlib
.h
·
2015-11-12 13:58
linux
C语言调用库函数实现生产者消费者问题
1 #include<stdio.h> 2 #include<
stdlib
.h> 3 #include<semaphore.h> 4 #include
·
2015-11-12 13:11
生产者消费者
任意阶幻方..
1 /*@coder Gxjun*/ 2 #include<stdio.h> 3 #include<string.h> 4 #include<
stdlib
.h
·
2015-11-12 12:18
大数乘大数
1 /*coder @Gxjun*/ 2 #include<stdio.h> 3 #include<string.h> 4 #include<
stdlib
.h
·
2015-11-12 12:17
poj1543---完美立方(枚举)
#include <stdio.h> #include <
stdlib
.h> int main() { int cube[101],n,i,a,b,c,d;
·
2015-11-12 12:37
poj
poj1503---大数加法
当然进位 //maxlen记录这个二维数组的有用就是可以加的长度列数,row用来记录行数,那就不用遍历二维数组所有行列 #include<stdio.h> #include<
stdlib
.h
·
2015-11-12 12:34
poj
数据结构---堆栈
#include<stdio.h> #include<
stdlib
.h> #define MAX 1000 void myPush(int *stack,int *ptr
·
2015-11-12 12:33
数据结构
poj1477---搭积木
#include<stdio.h> #include<
stdlib
.h> int main() { int n,i; int bricks[55],
·
2015-11-12 12:32
poj
poj 1401---求N!末尾0的个数,2的个数一定比5多,观察得来,0的产生即为2*5,去找这个阶乘一行里面5的个数即可
#include<stdio.h> #include<
stdlib
.h> int main() { int T,N; while(scanf("
·
2015-11-12 12:31
poj
上一页
50
51
52
53
54
55
56
57
下一页
按字母分类:
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
其他