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
cstdio
hdu 2089 不要62
1 #include<iostream> 2 #include<
cstdio
> 3 #include<cstring> 4
·
2015-11-11 14:40
HDU
hdu 1392 Surround the Trees
解法:凸包ConvexHull 模板题 1 #include<iostream> 2 #include<
cstdio
> 3 #include<cstring&
·
2015-11-11 14:39
round
poj 2342 Anniversary party
1 #include<iostream> 2 #include<
cstdio
> 3 #include<cstring> 4 #include<cstdlib
·
2015-11-11 14:37
part
hdu 1575 Tr A
1 #include<iostream> 2 #include<
cstdio
> 3 #include<c
·
2015-11-11 14:33
HDU
hdu 1075 What Are You Talking About
1 #include<iostream> 2 #include<
cstdio
> 3 #include<cstr
·
2015-11-11 14:31
HDU
poj 3009 Curling 2.0
1 #include<iostream> 2 #include<
cstdio
> 3 #include<cstring> 4 #include<cstdlib
·
2015-11-11 14:30
curl
HDU 2795 Billboard
1 #include<iostream> 2 #include<
cstdio
> 3 #i
·
2015-11-11 14:29
HDU
poj 1061 青蛙的约会
扩展欧几里德算法的练习题,直接调用exgcd函数就可以了 1 #include<iostream> 2 #include<
cstdio
> 3 #include<
·
2015-11-11 14:29
poj
Test语言编译器V0.8
#include <iostream> #include <
cstdio
> #include <cctype> #include <cstring>
·
2015-11-11 14:25
test
hihocoder1302 最长回文子串
最长回文子串 先贴代码 所有的上面的提示已经交代的好清楚了…… #include <iostream> #include <cstring> #include <
cstdio
·
2015-11-11 14:04
code
hdu1937 Finding Seats
求最小的矩形覆盖面积内包含 k 个 空位置 枚举上下边界然后 双端队列 求 最小面积 #include <iostream> #include <cstring> #include <
cstdio
·
2015-11-11 14:03
find
Hardwood Species
id=2418 1 #include<
cstdio
> 2 #include<cstring> 3 #include<string> 4 #include
·
2015-11-11 13:48
IE
hdu 1754 I Hate It
// Time 843ms; Memory 6448K #include<iostream> #include<
cstdio
> #define maxn 1<<
·
2015-11-11 13:12
HDU
HDU/HDOJ 2563 统计问题 回溯发DFS
#include<iostream> #include<
cstdio
> #include<cmath> #include<fstream&
·
2015-11-11 13:05
HDU
hdu 1072 Nightmare (广搜)
// Time 0ms, Memory 356K #include<iostream> #include<
cstdio
> #include<queue> using
·
2015-11-11 13:45
HDU
hdu_5276
//不管怎么样还是希望天天做笔记把,真是太懒了#include<iostream> #include<
cstdio
> #include<vector> #include
·
2015-11-11 13:37
HDU
POJ 3255 Roadblocks
求次短路 #include <iostream> #include <cstdlib> #include <
cstdio
> #include
·
2015-11-11 13:07
block
POJ 1734 Sightseeing trip
#include <iostream> #include <cstdlib> #include <
cstdio
> #include <algorithm&
·
2015-11-11 13:06
poj
SPFA 最短路径打印方法
#include <iostream> #include <cstdlib> #include <
cstdio
> #include <algorithm&
·
2015-11-11 13:05
最短路径
Floyd 算法 打印路径模板
#include <iostream> #include <cstdlib> #include <
cstdio
> #include <algorithm&
·
2015-11-11 13:04
floyd
POJ 2387 Til the Cows Come Home
, 求N->1的最短路 1 #include <iostream> 2 #include <cstdlib> 3 #include <
cstdio
·
2015-11-11 13:00
home
poj2240 - Arbitrage(汇率问题,floyd)
给你一个汇率图, 让你判断能否根据汇率盈利 #include <iostream> #include <cstdlib> #include <
cstdio
·
2015-11-11 13:59
floyd
POJ 1511 SPFA+邻接表 Invitation Cards
#include <iostream> #include <cstdlib> #include <
cstdio
> #include <algorithm
·
2015-11-11 13:58
SPFA
HDU Sky数 2079 简单易懂的代码
, 那么16,12进制转换完之后也是10进制表示的 #include <iostream> #include <queue> #include <
cstdio
·
2015-11-11 13:48
HDU
最近点对问题 HDU Quoit Design 1007 分治法
#include<
cstdio
> #include<cstring> #include<iostream> #include<algorithm>
·
2015-11-11 13:47
design
HDU Collect More Jewels 1044
BFS + 状态压缩 险过 这个并不是最好的算法 但是写起来比较简单 , 可以AC,但是耗时比较多 下面是代码 就不多说了 #include <
cstdio
> #
·
2015-11-11 13:42
more
HDU 1754 I Hate It (线段树)
1 #include<
cstdio
> 2 #include<iostream> 3 4 using namespace std; 5 #define INF 0xffffff0
·
2015-11-11 13:40
HDU
HDU 2660 Accepted Necklace
1 #include<
cstdio
> 2 #include<cstdlib> 3 #include<cstring> 4 #define MAX(A,B)
·
2015-11-11 13:39
HDU
从汇编看c++中指向成员变量的指针(二)
下面是c++源码: #include <iostream> #include <
cstdio
> using namespace std; class Top {
·
2015-11-11 13:54
成员变量
从汇编看c++成员函数指针(三)
下面来看c++源码: #include <
cstdio
> using namespace std; class Top { public: virtual int
·
2015-11-11 13:54
函数指针
从汇编看c++成员函数指针(二)
下面先看一段c++源码: #include <
cstdio
> using namespace std; class X { public: virtual int get1
·
2015-11-11 13:53
函数指针
从汇编看c++中成员函数指针(一)
下面先来看c++的源码: #include <
cstdio
> using namespace std; class X { public: int get1() {
·
2015-11-11 13:52
函数指针
从汇编看c++中指向成员变量的指针(一)
下面先看c++源码以及输出结果: #include <iostream> #include <
cstdio
> using
·
2015-11-11 13:51
成员变量
C++判断两条直线位置关系
1 #include <
cstdio
> 2 #include <cstdlib> 3 4 using namespace std; 5 6 int main
·
2015-11-11 13:07
C++
hdu 2769 uva 12169 Disgruntled Judge 拓展欧几里德
的形式,此时公因数为a,方程也变为a*x+0*y=gcd(a,0)的形式,显然解为x=1,y=0,然后再递归回去就能得到解(a*x+b*y=gcd(a,b)的解) 1 #include<
cstdio
·
2015-11-11 13:48
grunt
uva 11582 Colossal Fibonacci Numbers!
//为啥循环节一定要是0 1开头 1 #include<
cstdio
> 2 #include<iostream> 3 #include<cmath>
·
2015-11-11 13:47
fibonacci
cdoj 791 Frozen Rose-Heads
结果发现又要二染色 又要dp的 想了两个小时没想通 然后做了个傻逼题安慰自己 解:不多说,就是递归到叶节点,然后回来的时候在解决子树和直接删边的代价中间取个最小值 1 #include<
cstdio
·
2015-11-11 13:46
head
cdoj 秋实大哥与战争
1 #include<
cstdio
> 2 #include<iostre
·
2015-11-11 13:45
cd
cdoj 排名表 拓扑排序 排名输出 贪心
解:拓排+贪心,反向建边,先找排名靠后的(now,不知道为什么) 1 #include<
cstdio
> 2 #include<iostream> 3 #include
·
2015-11-11 13:43
排序
cdoj 秋实大哥带我飞 最短路走法 含0权边
解法:先跑一边最短路,然后检查最短路上有没有0权边(dfs就好,但是每条边只能走一次,这里就需要用异或找反向边),最后记忆化搜索一遍(每条边也是只能走一次) 1 #include<
cstdio
·
2015-11-11 13:42
最短路
快排
#include<iostream>#include<algorithm> //在此#include<
cstdio
>#include<cstring
·
2015-11-11 13:05
链表的简单实现
1 #include <
cstdio
> 2 #include <cassert> 3 4 typedef struct node { 5 int data
·
2015-11-11 13:26
链表
B - I Hate It
1 #include<
cstdio
> 2 #include<string.h> 3 using namespace std; 4 int ans; 5 int
·
2015-11-11 13:52
it
BFS HDOJ 1728 逃离迷宫
用dp[x][y][d]记录当前需要的最少转向数 3 */ 4 #include <
cstdio
> 5 #include <algorithm> 6 #include &
·
2015-11-11 12:54
bfs
组合数学题 Codeforces Round #108 (Div. 2) C. Pocket Book
4 */ 5 #include <
cstdio
> 6 #include <algorithm>
·
2015-11-11 12:53
codeforces
离散化+BFS HDOJ 4444 Walk
3 坐标离散化+BFS:因为数据很大,先对坐标离散化后,三维(有方向的)BFS 4 关键理解坐标离散化,BFS部分可参考HDOJ_1728 5 */ 6 #include <
cstdio
·
2015-11-11 12:53
bfs
构造 Codeforces Round #107 (Div. 2) B. Phone Numbers
题目传送门 1 /* 2 构造:结构体排个序,写的有些啰嗦,主要想用用流,少些了判断条件WA好几次:( 3 */ 4 #include <
cstdio
> 5
·
2015-11-11 12:52
codeforces
水题 Codeforces Round #105 (Div. 2) B. Escape
题目传送门 1 /* 2 水题:这题唯一要注意的是要用double,princess可能在一个小时之内被dragon赶上 3 */ 4 #include <
cstdio
·
2015-11-11 12:51
codeforces
模拟 HDOJ 4552 Running Rabbits
题目传送门 1 /* 2 模拟:看懂题意,主要是碰壁后的转向,笔误2次 3 */ 4 #include <
cstdio
> 5 #include <algorithm
·
2015-11-11 12:50
bit
二分图最大匹配(匈牙利算法) UVA 10080 Gopher II
题目传送门 1 /* 2 匈牙利算法:这题比UVA_670简单,注意是要被吃的鼠的最少个数,套模板 3 */ 4 #include <
cstdio
> 5 #include
·
2015-11-11 12:50
二分图
上一页
73
74
75
76
77
78
79
80
下一页
按字母分类:
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
其他