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 2038
暴力+模拟=水 #include<
cstdio
> #include<cstring> #include<algorithm> using namespace
·
2015-11-13 04:57
poj
操作系统经典同步互斥问题——哲学家就餐
仅仅允许4个人同时就餐 #include <iostream> #include <mutex> #include <
cstdio
> #include <thread
·
2015-11-13 04:59
操作系统
hdu 3729 I'm Telling the Truth 二分图匹配
#include<
cstdio
> #include<cstring> #include<vector> #include<algorithm
·
2015-11-13 04:11
HDU
hdu 3720 Arranging Your Team 枚举
#include <iostream> #include <
cstdio
> #include <cstring>
·
2015-11-13 04:09
HDU
Codeforces Round #189 (Div. 2)
,mod 10是不是等于144、14、1,直到为0 代码如下: #include <iostream> #include <
cstdio
> #include
·
2015-11-13 04:09
codeforces
POJ 3261 Milk Patterns(后缀数组+二分答案+离散化)
#include <
cstdio
> #include <iost
·
2015-11-13 04:20
Pattern
poj1920 Towers of Hanoi
关于汉诺塔的递归,记住一个结论是,转移n个盘子至少需要2^n-1步 #include<iostream> #include<
cstdio
> #include
·
2015-11-13 04:19
poj
二分图匹配(匈牙利算法DFS实现)
做出邻接矩阵后可以直接调用MaxMatch()函数使用: 1 #include<iostream> 2 #include<cstring> 3 #include<
cstdio
·
2015-11-13 04:29
DFS
poj 2524 Ubiquitous Religions
并查集 1 #include<iostream> 2 #include<
cstdio
> 3 using namespace std; 4 5 int f[50001];/
·
2015-11-13 04:24
poj
130825组队赛-Regionals 2012, North America - East Central NA
#include<iostream> #include<
cstdio
> #include<algorithm> #include<cstring
·
2015-11-13 04:51
2012
hdu 4310 Hero
pid=4310 这个题 根据优先级排个序就可以了 #include<iostream> #include<
cstdio
> #include<algorithm&
·
2015-11-13 04:40
HDU
hdu 1536(博弈)
#include <
cstdio
> #include <cstring>
·
2015-11-13 04:40
HDU
hdu3329(2次dfs)
#include<iostream> #include<
cstdio
> #include<cstring> #include<algorith
·
2015-11-13 04:37
HDU
hdu1251(Trie树)
#include <iostream> #include <
cstdio
> #include <cmath> #include <cstdlib>
·
2015-11-13 04:35
trie
SCU 2009(数位dp)
#include <iostream> #include <
cstdio
> #include <cmath
·
2015-11-13 04:34
dp
poj3974(manacher)
#pragma comment(linker,"/STACK:1024000000,1024000000") #include <
cstdio
> #includ
·
2015-11-13 04:32
poj
hdu3294(manacher)
#pragma comment(linker,"/STACK:1024000000,1024000000") #include <
cstdio
> #i
·
2015-11-13 04:32
HDU
hdu4513(manacher)
#pragma comment(linker,"/STACK:1024000000,1024000000") #include <
cstdio
>
·
2015-11-13 04:31
HDU
loj1201(最大独立集)
#include <
cstdio
> #include <cstring> #inclu
·
2015-11-13 04:05
OJ
poj2226(最小点覆盖)
#include <
cstdio
> #in
·
2015-11-13 04:05
poj
hdu4185+poj3020(最大匹配+最小边覆盖)
#include <
cstdio
> #include <cstring> #include
·
2015-11-13 04:04
poj
hdu1281+hdu2819(最大匹配数)
传送门:hdu1281 棋盘游戏 #include <
cstdio
> #include <cstring> #include <string>
·
2015-11-13 04:02
HDU
hdu1054(最小顶点覆盖)
#include <
cstdio
> #include <cstring> #include <string> #include <cmath> #
·
2015-11-13 04:01
HDU
hdu2063+hdu1083(最大匹配数)
传送门:hdu2063过山车 #include <
cstdio
> #include <cstring> #include <string>
·
2015-11-13 04:00
HDU
hdu2444(判二分图+最大匹配)
#include <
cstdio
> #include <cstring> #include <str
·
2015-11-13 04:00
HDU
hdu1824(two-sat)
#include <
cstdio
&
·
2015-11-13 04:57
HDU
uva796(求桥数目)
#include <
cstdio
> #include <cstring> #include <string> #include <cmath> #
·
2015-11-13 04:50
uva
uva315(求割点数目)
#include <
cstdio
> #include <cstring> #include <string> #include <cmath> #
·
2015-11-13 04:49
uva
hdu4223(dp)
#include <
cstdio
> #include <cstring> #include <cmath> #include <algorithm
·
2015-11-13 04:48
HDU
multi_index_container性能测试
测试代码: #include <
cstdio
> &
·
2015-11-13 04:41
contain
hdu 4736 This Is The Job The Bear Finds(2013年成都ACM网络赛)
// Time 1718 ms; Memory 1500 K #include<iostream> #include<
cstdio
> #include<cmath>
·
2015-11-13 04:18
find
UVALive 5797 In Braille
注意读入的每个盲文之间有空格隔开,如果用gets读要消息空格和换行 //time 3ms #include <
cstdio
> #include <cstr
·
2015-11-13 04:40
live
HDU 4544 湫湫系列故事――消灭兔子
Code: #include <
cstdio
> #include <queue> #in
·
2015-11-13 04:25
HDU
sprintf函数
function sprintf <
cstdio
> int sprintf ( char * str, const char * format, ... ); Write formatted
·
2015-11-13 04:17
printf
130827解题报告
#include <
cstdio
> #include <
·
2015-11-13 04:42
POJ 2031 Building a Space Station
个空间站的x,y,z坐标和半径 求连接全部空间站总共至少要修多长的桥 也是裸的最小生成树 注意距离不会小于0 就是两个空间站相交的时候 #include<
cstdio
·
2015-11-13 03:57
Build
cf E. Valera and Queries
1 #include <
cstdio
> 2 #include <cstring> 3 #
·
2015-11-13 03:54
val
cf D. Valera and Fools
1 #include <
cstdio
> 2 #include <cstring> 3 #include <algorithm> 4 #d
·
2015-11-13 03:54
val
cf C. Valera and Elections
1 #include <
cstdio
> 2 #include <cstring> 3 #include <alg
·
2015-11-13 03:53
val
cf B. Valera and Contest
1 #include <
cstdio
> 2 #include <cstring> 3 #include <al
·
2015-11-13 03:52
test
cf D. Sereja ans Anagrams
http://codeforces.com/contest/368/problem/D 1 #include <
cstdio
> 2 #include <cstring&
·
2015-11-13 03:51
c
cf B. Sereja and Suffixes
1 #include <
cstdio
> 2 #include <cstring> 3 #include <algorithm> 4 #define maxn
·
2015-11-13 03:50
FF
cf B. Dima and To-do List
codeforces.com/contest/366/problem/B 从0到k枚举起点,然后i+k判断是不是i+k>=n如果是i=(i+k)%n;否则i=i+k; 1 #include <
cstdio
·
2015-11-13 03:47
list
cf C. Dima and Salad
结果就是dp[10000],如果等于0则输出-1,否则输出dp[10000]; 1 #include <
cstdio
> 2 #include <cs
·
2015-11-13 03:47
DI
cf D. Dima and Trap Graph
1 #include <
cstdio
> 2 #include <cstring> 3 #include <algorithm> 4 #define maxn
·
2015-11-13 03:47
Graph
cf C. Matrix
1 #include <
cstdio
> 2 #includ
·
2015-11-13 03:46
Matrix
cf B. The Fibonacci Segment
http://codeforces.com/contest/365/problem/B 1 #include <
cstdio
> 2 #include <cstring&
·
2015-11-13 03:45
fibonacci
cf B. Petya and Staircases
362/problem/B 先排序,然后判断第一个和最后一个是不是脏的,如果是则输出NO,然后判断其中三个脏的是不是连着的,如果是也输出NO,否则输出YES 1 #include <
cstdio
·
2015-11-13 03:44
case
cf C. Insertion Sort
http://codeforces.com/contest/362/problem/C 1 #include <
cstdio
> 2 #include <cstring&
·
2015-11-13 03:44
insert
cf D. Renting Bikes
1 #include <
cstdio
> 2 #include <cstring> 3 #include <algorithm> 4 #define
·
2015-11-13 03:43
in
上一页
24
25
26
27
28
29
30
31
下一页
按字母分类:
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
其他