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
杭电2546
【最小生成树+Prim】
杭电
hdu 1233 还是畅通工程
第一次Prim思想初步实践版/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2012panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showpro
panyanyany
·
2012-02-05 12:00
c
Date
算法
url
【最小生成树+Prim】
杭电
hdu 1233 还是畅通工程
第一次 Prim 思想初步实践版 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2012 panyanyany All rights reserved. URL :
txf2004
·
2012-02-05 12:00
杭电 hdu
杭电
ACM HDOJ 2045 不容易系列之(3)—— LELE的RPG难题
有排成一行的n个方格,用红(Red)、粉(Pink)、绿(Green)三色涂每个格子,每格涂一色,要求任何相邻的方格不能同色,且首尾两格也不同色.求全部的满足要求的涂法.Input输入数据包含多个测试实例,每个测试实例占一行,由一个整数N组成,(0usingnamespacestd;intmain(){ intn,i; __int64a[51]; //这里需要定义64位,因为数字很大滴 a[1]=
fangzhiyang
·
2012-01-27 14:00
算法
测试
input
output
【最短路+bfs+剪枝】
杭电
hdu 2433 Travel
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL
panyanyany
·
2012-01-25 14:00
图论
最短路
bfs
剪枝
【最短路+bfs+剪枝】
杭电
hdu 2433 Travel
阅读更多/*THEPROGRAMISMADEBYPYY*//*----------------------------------------------------------------------------//Copyright(c)2011panyanyanyAllrightsreserved.URL:http://acm.hdu.edu.cn/showproblem.php?pid=2
panyanyany
·
2012-01-25 14:00
图论
最短路
bfs
剪枝
【最短路+bfs+剪枝】
杭电
hdu 2433 Travel
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu
txf2004
·
2012-01-25 14:00
杭电 hdu
【最短路+bfs+剪枝】
杭电
hdu 2433 Travel
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?pid=2
panyanyany
·
2012-01-25 14:00
c
优化
Date
struct
url
【最短路+spfa+有难度】
杭电
hdu 2377 Bus Pass
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : htt
panyanyany
·
2012-01-24 15:00
图论
最短路
SPFA
【最短路+spfa+有难度】
杭电
hdu 2377 Bus Pass
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?pid=2
panyanyany
·
2012-01-24 15:00
c
Date
struct
url
【最短路+spfa+有难度】
杭电
hdu 2377 Bus Pass
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.e
txf2004
·
2012-01-24 15:00
杭电 hdu
【并查集+枚举】
杭电
hdu 1598 find the most comfortable road
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm
panyanyany
·
2012-01-23 16:00
枚举
并查集
【并查集+枚举】
杭电
hdu 1598 find the most comfortable road
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.ed
txf2004
·
2012-01-23 16:00
杭电 hdu
【并查集+枚举】
杭电
hdu 1598 find the most comfortable road
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?pid=1
panyanyany
·
2012-01-23 16:00
杭电
acm 2030 汉字统计
ProblemDescription统计给定文本文件中汉字的个数。Input输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。Output对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。[Hint:]从汉字机内码的特点考虑~SampleInput2 WaHaHa!WaHaHa!今年过节不说话要说只说普通话WaHaHa!WaHaHa! 马上就要期末考试了Areyour
zwb8848happy
·
2012-01-23 10:00
【ACM】
杭电
hdu 1482 Counterfeit Dollar
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http:/
panyanyany
·
2012-01-22 15:00
ACM
HDU
杭电
【ACM】
杭电
hdu 1482 Counterfeit Dollar
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?p
panyanyany
·
2012-01-22 15:00
【ACM】
杭电
hdu 1482 Counterfeit Dollar
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.h
txf2004
·
2012-01-22 15:00
杭电 hdu
杭电
ACM 1096(A+B for Input-Output Practice (VIII))
#include usingnamespacestd; intmain() { intn,m,sum; cin>>n; for(inti=0;i>m; int*num=newint[m]; for(intq=0;q>num[q]; } for(q=0;q
hjl243632044
·
2012-01-21 19:00
ini
杭电
ACM 1095(A+B for Input-Output Practice (VII))
#include usingnamespacestd; intmain() { inta,b; while(cin>>a>>b) { cout<<a+b<<"\n"<<"\n"; } return0; }
hjl243632044
·
2012-01-21 19:00
杭电
ACM 1094 (A+B for Input-Output Practice (VI))
#include usingnamespacestd; intmain() { intn,sum; while(cin>>n) { sum=0; int*num=newint[n]; for(inti=0;i>num[i]; } for(i=0;i<n;i++) { sum+=num[i]; } cout<<sum<<"\n"; } return0; }
hjl243632044
·
2012-01-21 19:00
ini
杭电
ACM 1093(A+B for Input-Output Practice (V))
#include usingnamespacestd; intmain() { intm,sum,n; cin>>m; for(inti=0;i>n; int*num=newint[n]; for(inti=0;i>num[i]; } for(i=0;i<n;i++) { sum+=num[i]; } cout<<sum<<"\n"; } return0; }
hjl243632044
·
2012-01-21 19:00
ini
杭电
ACM 1092(A+B for Input-Output Practice (IV))
#include usingnamespacestd; intmain() { intn,sum; while(cin>>n&&n!=0) { sum=0; int*num=newint[n]; for(inti=0;i>num[i]; } for(i=0;i<n;i++) { sum+=num[i]; } cout<<sum<<"\n"; } }
hjl243632044
·
2012-01-21 19:00
杭电
ACM 1091(A+B for Input-Output Practice (III))
#include usingnamespacestd; intmain() { inta,b; while(cin>>a>>b&&a!=0||b!=0) { cout<<a+b<<"\n"; } return0; }
hjl243632044
·
2012-01-21 19:00
杭电
ACM 1090 (A+B for Input-Output Practice (II))
#include usingnamespacestd; intmain() { intn,a,b,c; cin>>n; for(inti=0;i>a>>b; cout<<a+b<<"\n"; } }
hjl243632044
·
2012-01-21 19:00
c
ini
杭电
ACM 1089(A+B for Input-Output Practice (I))
#include usingnamespacestd; intmain() { inta,b; while(cin>>a>>b) { cout<<a+b<<"\n"; } return0; }
hjl243632044
·
2012-01-21 19:00
杭电
ACM 1001(Sum Problem)
#include usingnamespacestd; intmain() { intn; signedintsum;//有符号整形 while(cin>>n) { sum=0; for(inti=0;i<=n;i++) sum+=i; cout<<sum<<"\n"<<"\n";//followedwithablankline! } return0; }
hjl243632044
·
2012-01-21 19:00
【最短路+三种解法】
杭电
hdu 1690 Bus System
Floyd 算法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved
panyanyany
·
2012-01-21 18:00
图论
最短路
dijkstra
floyd
SPFA
【最短路+三种解法】
杭电
hdu 1690 Bus System
Floyd 算法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : htt
txf2004
·
2012-01-21 18:00
System
【最短路+三种解法】
杭电
hdu 1690 Bus System
Floyd算法/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showprob
panyanyany
·
2012-01-21 18:00
【最短路+dijkstra+spfa】
杭电
hdu 2722 Here We Go(relians) Again
Dijkstra 解法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved.
panyanyany
·
2012-01-20 23:00
图论
最短路
dijkstra
SPFA
【最短路+dijkstra+spfa】
杭电
hdu 2722 Here We Go(relians) Again
Dijkstra解法/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showpr
panyanyany
·
2012-01-20 23:00
【最短路+dijkstra+spfa】
杭电
hdu 2722 Here We Go(relians) Again
Dijkstra 解法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http:/
txf2004
·
2012-01-20 23:00
dijkstra
【最短路+dijkstra+spfa】
杭电
hdu 2962 Trucking
Spfa 解法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL
panyanyany
·
2012-01-19 18:00
图论
最短路
dijkstra
SPFA
【最短路+dijkstra+spfa】
杭电
hdu 2962 Trucking
Spfa 解法 /*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showprob
panyanyany
·
2012-01-19 18:00
【最短路+dijkstra+spfa】
杭电
hdu 2962 Trucking
Spfa解法 /* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.
txf2004
·
2012-01-19 18:00
dijkstra
【最短路+dijkstra】
杭电
hdu 2923 Einbahnstrasse
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.h
panyanyany
·
2012-01-18 20:00
ACM
图论
最短路
dijkstra
【最短路+dijkstra】
杭电
hdu 2923 Einbahnstrasse
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?p
panyanyany
·
2012-01-18 20:00
【最短路+dijkstra】
杭电
hdu 2923 Einbahnstrasse
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.edu
txf2004
·
2012-01-18 20:00
dijkstra
【最短路+dijkstra+有难度】
杭电
hdu 1245 Saving James Bond
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://ac
panyanyany
·
2012-01-17 16:00
图论
最短路
dijkstra
卡精度
【最短路+dijkstra+有难度】
杭电
hdu 1245 Saving James Bond
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?pid=1
panyanyany
·
2012-01-17 16:00
【最短路+dijkstra+有难度】
杭电
hdu 1245 Saving James Bond
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.edu.c
txf2004
·
2012-01-17 16:00
dijkstra
【最短路+floyd】
杭电
hdu 1217 Arbitrage
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://ac
panyanyany
·
2012-01-15 09:00
图论
最短路
HDU
floyd
【最短路+floyd】
杭电
hdu 1217 Arbitrage
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.edu.c
txf2004
·
2012-01-15 09:00
杭电 hdu
【最短路+floyd】
杭电
hdu 1217 Arbitrage
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?pid=1
panyanyany
·
2012-01-15 09:00
c
String
【最短路+dfs+dijkstra】
杭电
hdu 1142 A Walk Through the Forest
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.h
panyanyany
·
2012-01-13 16:00
ACM
最短路
DFS
dijkstra
【最短路+dfs+dijkstra】
杭电
hdu 1142 A Walk Through the Forest
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?p
panyanyany
·
2012-01-13 16:00
c
2010
【最短路+dfs+dijkstra】
杭电
hdu 1142 A Walk Through the Forest
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.edu
txf2004
·
2012-01-13 16:00
dijkstra
【最短路+模板题】
杭电
hdu 2112 HDU Today
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.h
panyanyany
·
2012-01-13 10:00
图论
最短路
模板题
【最短路+模板题】
杭电
hdu 2112 HDU Today
/* THE PROGRAM IS MADE BY PYY */ /*----------------------------------------------------------------------------// Copyright (c) 2011 panyanyany All rights reserved. URL : http://acm.hdu.edu
txf2004
·
2012-01-13 10:00
杭电 hdu
【最短路+模板题】
杭电
hdu 2112 HDU Today
/*THEPROGRAMISMADEBYPYY*/ /*----------------------------------------------------------------------------// Copyright(c)2011panyanyanyAllrightsreserved. URL:http://acm.hdu.edu.cn/showproblem.php?p
panyanyany
·
2012-01-13 10:00
上一页
113
114
115
116
117
118
119
120
下一页
按字母分类:
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
其他