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
memcpy 与memset的使用方法
,sizeof(int/double/char)*k) 其头文件为string.h 2.memset用法: #include<stdio.h> #include<
stdlib
.h
·
2015-11-12 19:43
set
北大acm1007
找到在
stdlib
中有个函数为qsort,实现了快速排序,为了添加稳定性,在结构体里添加了一个int来存储序号,当两个数的inversions一样的时候,按照序号来排序。
·
2015-11-12 19:39
ACM
单链表排序
View Code #include <stdio.h> #include <
stdlib
.h> typedef struct node { int data
·
2015-11-12 18:22
单链表
Prim与Kruskal算法
Prime算法 View Code #include <stdio.h> #include <
stdlib
.h> #define MAX 100
·
2015-11-12 18:21
Prim
堆排序
View Code 1 #include <stdio.h> 2 #include <
stdlib
.h> 3 #define MAXLEN 10
·
2015-11-12 18:18
堆排序
遍历二叉数
(1)递归的方式递归二叉数 #include <stdio.h> #include <
stdlib
.h> typedef struct node { char
·
2015-11-12 18:16
遍历
POJ 3295 Tautology 构造法
1 #include<stdio.h> 2 #include<
stdlib
.h> 3 #i
·
2015-11-12 18:53
auto
编程之美---子矩阵之和的最大值
#include<stdio.h> #include<
stdlib
.h> #include<string.h> #include<assert.h
·
2015-11-12 18:42
编程之美
HDU 1231 最大连续子序列
pid=1231 最大连续子序列,水 View Code #include <stdio.h> #include <
stdlib
.h> int cmp(const
·
2015-11-12 18:12
HDU
HDU 4224 Enumeration?
View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h> int main
·
2015-11-12 18:11
enumeration
HDU 4147 KFC -Z+W
pid=4147 小学生英文阅读题 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:10
HDU
HDU 1326 Box of Bricks
pid=1326 水,不过PE两次,囧 View Code #include <stdio.h> #include <
stdlib
.h> int cmp(const
·
2015-11-12 18:09
HDU
HDU 1024 Max Sum Plus Plus
View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h> #define
·
2015-11-12 18:07
HDU
AHU 501 送钱活动
安徽大学oj这个经验值系统真好玩、、 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:07
活动
HDU 2148 Score
Code #include <stdio.h> #include <string.h> #include <math.h> #include <
stdlib
.h
·
2015-11-12 18:02
core
HDU 2192 MagicBuilding
View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h> int cmp(
·
2015-11-12 18:01
Build
HDU 1673 Optimal Parking
pid=1673 阅读题 View Code #include <stdio.h> #include <
stdlib
.h> int cmp(const void
·
2015-11-12 18:59
HDU
HDU 4223 Dynamic Programming?
pid=4223 View Code #include <stdio.h> #include <
stdlib
.h> #include <string.h>
·
2015-11-12 18:56
HDU 4221 Greedy?
pid=4221 哎,这么简单一道题,愁 View Code #include <stdio.h> #include <
stdlib
.h> typedef struct
·
2015-11-12 18:55
HDU
HDU 1003 Max Sum
pid=1003 靠,总算过了,不解释 View Code #include <stdio.h> #include <
stdlib
.h> int a[110000
·
2015-11-12 18:55
HDU
HDU 2540 遮挡判断
pid=2540 只要影子长度大于前面的所有影子长度就ok View Code #include <stdio.h> #include <
stdlib
.h> typedef
·
2015-11-12 18:53
HDU
HDU 3783 ZOJ
pid=3783 View Code #include <stdio.h> #include <
stdlib
.h> #include <string.h>
·
2015-11-12 18:52
HDU
HDU 3782 xxx定律
pid=3782 View Code #include <stdio.h> #include <
stdlib
.h> int main() { int
·
2015-11-12 18:51
HDU
HDU 3785 寻找大富翁
pid=3785 View Code #include <stdio.h> #include <
stdlib
.h> #define INF 200000000
·
2015-11-12 18:50
HDU
HDU 1233 还是畅通工程
pid=1233 最小生成树,查找根节点的函数里面等号写成赋值号,查了半个小时、、、 View Code #include <stdio.h> #include <
stdlib
.h
·
2015-11-12 18:49
HDU
HDU 1879 继续畅通工程
无语ing View Code #include <stdio.h> #include <
stdlib
.h> #include <string.h>
·
2015-11-12 18:49
HDU
HDU 1863 畅通工程
ps:m和n写反了,害我查了1h啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 View Code #include <stdio.h> #include <
stdlib
.h>
·
2015-11-12 18:48
HDU
HDU 2552 三足鼎立
pid=2552 数学推导 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:43
HDU
HDU 1213 How Many Tables
1213 和畅通工程是一个意思、、 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:42
table
HDU 2131 Probability
求字母在单词中出现的概率,无视大小写 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:41
HDU
HDU 1232 畅通工程
View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h> int idx[
·
2015-11-12 18:41
HDU
HDU 2523 SORT AGAIN
这个范围内,由此可以搞出hash数组 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:40
sort
HDU 2187 悼念512汶川大地震遇难同胞——老人是真饿了
2187 与2111一样,直接贪心即可 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:37
HDU
HDU 2111 Saving HDU
pid=2111 直接贪心 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:36
HDU
HDU 1995 汉诺塔V
=1995 列表画一下,规律即出 View Code #include <stdio.h> #include <string.h> #include <
stdlib
.h
·
2015-11-12 18:36
HDU
HDU 1284 钱币兑换问题
pid=1284 dp,转移方程自行yy View Code #include <stdio.h>#include <string.h>#include <
stdlib
.h
·
2015-11-12 18:34
HDU
HDU 1032 The 3n + 1 problem
gt;j的情况,此情况下i,j要按原顺序输出 View Code #include <stdio.h>#include <string.h>#include <
stdlib
.h
·
2015-11-12 18:34
HDU
HDU 1062 Text Reverse
pid=1062 每个单词逆序输出就可以 View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h
·
2015-11-12 18:32
text
HDU 4150 Powerful Incantation
pid=4150 查找不重复字串 View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h
·
2015-11-12 18:31
ant
HDU 2136 Largest prime factor
View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h>#include <
·
2015-11-12 18:31
Prim
HDU 4144 Bacon's Cipher
View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h>int pow(int a
·
2015-11-12 18:30
HDU
HDU 1720 A+B Coming
=1720 16进制输入,10进制输出 View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h
·
2015-11-12 18:29
com
HDU 1166 敌兵布阵
=1166 线段树,单点增减,区间求和 View Code #include <stdio.h>#include <string.h> #include <
stdlib
.h
·
2015-11-12 18:29
HDU
HRBUST 1328 相等的最小公倍数
因式分解后是否是a^b的形式,是则输出NO,反之YES View Code #include <stdio.h>#include <math.h>#include <
stdlib
·
2015-11-12 18:27
r
HDU 1215 七夕节
View Code #include <stdio.h>#include <string.h>#include <math.h>#include <
stdlib
.h
·
2015-11-12 18:27
HDU
HDU 1282 回文数猜想
pid=1282 两种想法,用字符串处理或是用数字处理,这里数字处理更简单 View Code #include <stdio.h>#include <
stdlib
.h&
·
2015-11-12 18:26
HDU
POJ 1004 Financial Management
id=1004 求12个数的平均数、、、太无耻了 View Code #include <stdio.h>#include <
stdlib
.h>#include &
·
2015-11-12 18:25
poj
POJ 2017 Speed Limit
id=2017 按题意计算路程,直接算 View Code #include <stdio.h>#include <
stdlib
.h>#include <string.h
·
2015-11-12 18:24
limit
POJ 2027 No Brainer
2027 判断a<b......脸皮这两天又厚了不少、、、这种题也拿来充数、、、忏悔ing View Code #include <stdio.h>#include <
stdlib
.h
·
2015-11-12 18:24
poj
HDU 2601 An easy problem
:(1)n的数据范围(2)j>=i(3)开方拿出来算 因为上面三点挂了几次,勉强过关 View Code #include <stdio.h>#include <
stdlib
.h
·
2015-11-12 18:23
HDU
上一页
47
48
49
50
51
52
53
54
下一页
按字母分类:
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
其他