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
poj 3370 Halloween treats
id=3370 鸽巢原理 代码: #include<iostream> #include<
cstdio
> #include<cstring> #include
·
2015-11-13 11:26
poj
B. Painting Eggs
codeforces.com/contest/282/problem/B 很水的题呀,结果比赛时没有想出来 直接上代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:25
paint
1032. Find a Multiple poj 2356 Find a multiple
id=2356 鸽巢原理 代码: #include<iostream> #include<
cstdio
> #include<cstring> #include
·
2015-11-13 11:24
find
zju 1003. Emergency (25)
http://pat.zju.edu.cn/contests/pat-a-practise/1003 最短路 代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:21
merge
poj 1961 Period
id=1961 此题直接上代码: #include<iostream> #include<
cstdio
> #include<cstring> #include
·
2015-11-13 11:20
poj
zoj 3261 Connections in Galaxy War
先把不需要destroy的边连上 然后逆序寻找答案 遇到destroy 的边就连上 过程中用并查集维护答案 代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:20
Connection
poj 2492 A Bug's Life
id=2492 和poj 1703 一样不再多说 代码: #include<iostream> #include<
cstdio
> #include<cstring
·
2015-11-13 11:19
life
poj 3264 Balanced Lineup
http://wenku.baidu.com/view/53e2b6ed4afe04a1b071deb5.html 代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:18
poj
poj 1195 Mobile phones
id=1195 二维树状数组 就是比一维的多了一维而已 关键在理解 代码: #include<iostream> #include<
cstdio
>
·
2015-11-13 11:16
mobile
poj Asimple Problem With Integers
简单线段树题 区间内一部分是固定区间和 另一个是此区间内每个数都需要加的量 注意用64为整数 详情见代码注释: #include<iostream> #include<
cstdio
·
2015-11-13 11:14
Integer
poj 2777 Count Color
www.cnblogs.com/liulangye/archive/2012/06/11/2545349.html 代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:11
count
poj 2914 Minimum Cut
=2914 此题和 hdu 3691 Nubulsa Expo 几乎一样 不再解释 代码: #include<iostream> #include<
cstdio
·
2015-11-13 11:08
poj
hdu 1269
做这道题这是为了练习一下Tarjan算法 关于这个算法网上很多而已版本 大多都一样 我就不多说了 详解见代码注释 #include<iostream> #include<
cstdio
·
2015-11-13 11:00
HDU
poj 1273 Drainage Ditches
;string> #include<algorithm> #include<queue> #include<cstring> #include<
cstdio
·
2015-11-13 11:49
poj
hdu 1846 Brave Game
include<cmath>#include<string>#include<algorithm>#include<cstring>#include<
cstdio
·
2015-11-13 11:48
game
hdu 1850 Being a Good Boy in Spring Festival
include<cmath>#include<string>#include<algorithm>#include<cstring>#include<
cstdio
·
2015-11-13 11:48
spring
poj 3122 Pie
include<iostream>#include<string>#include<cstring>#include<cmath>#include<
cstdio
·
2015-11-13 11:46
poj
poj 1905 Expanding Rods
include<iostream>#include<string>#include<cstring>#include<cmath>#include<
cstdio
·
2015-11-13 11:45
exp
poj 3258 River Hopscot
id=3258 #include<iostream> #include<string> #include<cstring> #include<
cstdio
·
2015-11-13 11:45
poj
poj 3661 Running
lt;iostream> #include<cstring> #include<string> #include<cmath> #include<
cstdio
·
2015-11-13 11:43
poj
poj 3292 Semi-prime H-numbers
id=3292 #include<iostream> #include<cstring> #include<string> #include<
cstdio
·
2015-11-13 11:42
number
poj 3281 Dining
id=3281 #include <iostream>#include <
cstdio
>#include <cstring>#include <string&
·
2015-11-13 11:40
poj
sdut 2401 最大矩阵面积
action=showproblem&problemid=2401 #include <iostream>#include <
cstdio
>#include <algorithm
·
2015-11-13 11:39
du
poj 3253 Fence Repair
id=3253 #include<iostream>#include<
cstdio
>#include<string.h>#include<algorithm&
·
2015-11-13 11:34
AIR
poj 3349 Snowfalke Snow Snowflakes
id=3349 #include<iostream>#include<
cstdio
>#include<string.h>#include<algorithm&
·
2015-11-13 11:33
poj
poj 3714 Raid
id=3714 #include<iostream>#include<
cstdio
>#include<string.h>#include<algorithm&
·
2015-11-13 11:33
raid
基于EPOLL写的HTTP服务器(加入了线程池)
07 19:02:51) 转载▼ 标签: 杂谈 分类: EPOLL #include<fcntl.h> #include<
cstdio
·
2015-11-13 11:30
HTTP服务器
hdu 4277
题目链接 #include <
cstdio
> //by-ACMer_xiaohao #include <cstring> #include <map&
·
2015-11-13 11:33
HDU
POJ 2488 A Knight's Journey
经典的骑士巡游问题,注意字典序最小,应该从上到下,从左到右遍历 #include <iostream> #include <
cstdio
> #include
·
2015-11-13 11:51
poj
10105 - Polynomial Coefficients
描述:杨辉三角与二项式定理 #include <
cstdio
> int solve(int n,int m) { int sum=1; for(int i=n; i
·
2015-11-13 11:32
IE
【HDU】4336 Card Collector
pid=4336 题意:n张卡片,每一次取一个盒子,盒子里装有卡片i的概率是p[i],求得到所有卡片所需要开的盒子的期望数(n<=20) #include <
cstdio
> #
·
2015-11-13 11:21
Collector
【HDU】4035 Maze
(n<=10000) #include <
cstdio
> #include &
·
2015-11-13 11:21
HDU
【POJ】2151 Check the difficulty of problems
2151 题意:T个队伍M条题目,给出每个队伍i的每题能ac的概率p[i][j],求所有队伍至少A掉1题且冠军至少A掉N题的概率(T<=1000, M<=30) #include <
cstdio
·
2015-11-13 11:18
check
【SGU】495. Kids and Prizes
(N,M<=100000) #include <
cstdio
> using namespace std;
·
2015-11-13 11:18
id
【POJ】3071 Football
(n<=7) #include <
cstdio
> using namespace std; const int N2=(1<&
·
2015-11-13 11:17
poj
【HDU】4405 Aeroplane chess
#include <
cstdio
> #include <cst
·
2015-11-13 11:16
HDU
【POJ】2096 Collecting Bugs
的期望天数(0<n, s<=1000) #include <
cstdio
> using namespace std; double d[1005][1005];
·
2015-11-13 11:15
bugs
【POJ】2420 A Star not a Tree?
id=2420 题意:给n个点,求一个点使得到这个n个点的距离和最短,输出这个最短距离(n<=100) #include <
cstdio
> #include <cstdlib
·
2015-11-13 11:14
tree
【POJ】3744 Scout YYF I
<=10,范围在[1, 100000000],每一次有p的概率向前走一步,1-p的概率向前走两步,问安全通过所有地雷的概率(即走到最后一个地雷的后一格) #include <
cstdio
·
2015-11-13 11:14
poj
【HDU】2147 kiki's game
#include <
cstdio
> using namespace std; int main() { int n, m; while(scanf
·
2015-11-13 11:09
game
【HDU】1517 A Multiplication Game
#include <
cstdio
> #include <cstring> #include <map> using namespace std; typedef
·
2015-11-13 11:08
game
【HDU】1536 S-Nim
pid=1536 题意:同nim...多堆多询问...单堆n<=10000,每次取的是给定集合的数= = #include <
cstdio
> #include <cstring
·
2015-11-13 11:07
HDU
【HDU】1850 Being a Good Boy in Spring Festival
#include <
cstdio
> #include <cstring> using namespace std; int a[105]; int main() {
·
2015-11-13 11:07
spring
【HDU】1848 Fibonacci again and again
pid=1848 题意:同nim,3堆,每次取的为fib数,n<=1000 #include <
cstdio
> #include <cstring> using
·
2015-11-13 11:06
fibonacci
【HDU】1846 Brave Game
#include <
cstdio
> using namespace std; int main() { int c; scanf("%d", &c);
·
2015-11-13 11:05
game
【HDU】1847 Good Luck in CET-4 Everybody!
pid=1847 题意:同nim..不过只有一堆..每次取2的幂次..即1、2、4....等,n<=1000 #include <
cstdio
> #include <cstring
·
2015-11-13 11:05
body
【BZOJ】2456: mode
题意:给一个$n<=500000$的数列,求出现次数超过$\lfloor \frac{n}{2} \rfloor$的数 #include <set> #include <
cstdio
·
2015-11-13 11:03
ZOJ
【POJ】3133 Manhattan Wiring
(2<=n,m<=9) #include <
cstdio
> #include <cstring> #include <algorithm>
·
2015-11-13 11:57
poj
【POJ】1739 Tony's Tour
(n,m<=8) #include <
cstdio
> #include <cstring> #include <algorithm> using namespace
·
2015-11-13 11:57
poj
【FZU】1977 Pandora adventure
现在要求路径经过所有'O'且是简单回路的数量 #include <
cstdio
> #include <cstring> #include <algorithm>
·
2015-11-13 11:56
ora
上一页
10
11
12
13
14
15
16
17
下一页
按字母分类:
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
其他