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
2066
惟愿时光走的慢些
某天电视上突然出现了
2066
年,天呐,我在心里算了算,那时的自己就是72岁了,现在感觉是多么遥远又是那么近!
葵小丫
·
2017-12-05 05:27
AI怎么绘制一个蓝色的播放器按钮图标?
软件名称:AdobeIllustratorCS5(ai软件下载)精简绿色免费版软件大小:111.56MB更新时间:2013-08-091、选择【椭圆工具】,绘制一个圆,用深蓝色#
2066
f0的底部和浅蓝色
随伟春芳歇
·
2017-11-13 09:22
手推车大作战续集
图片发自App
2066
年7月5日,我来纽约游玩的目的是参加哈密瓜节,这是如今世界上最受人们欢迎的节日。白天,我去了马克西汉莫曼的店。如今打理这家店的人是手推车女王:爱丽丝米勒斯。
二哈纯甄
·
2017-10-29 15:44
石墨烯+新能源第一龙头,底部现金叉主力疯狂抢筹,有望暴涨成妖
最终沪指报于3352.53点,下跌5.28点,成交金额
2066
亿元,资金净流出86.71亿元。技术上而言,周五指数依旧是对支撑的验证过程。盘中一度跌破3343点的蝴蝶翅膀1.0位置
鹿港小镇m
·
2017-09-24 09:08
HDU
2066
一个人的旅行 spfa
pid=
2066
【思路】只是去到某个喜欢的城市,那么我们再填个源点,与草儿能直接到的城市建一条边权为0的边,剩下的就是求一次单源最短路了.
ProboxDu
·
2017-03-05 09:45
图论
HDU
2066
一个人的旅行
一个人的旅行多起点,多终点,再在其中找一个最短的,如果估算数据小的话可以多次求最短路,更好的还是用弗洛伊德算法,预先打表,对于后面的问题直接调用,节约时间。这道题基本上就是弗洛伊德算法的模板。注意输入可能有重复边。#include#include#include#defineM0xfffffff#defineN1002usingnamespacestd;intn,m,j,i,k,l,s,d;int
大烁就是要吃肉
·
2016-09-26 15:11
图论
脑洞故事04 |来自
2066
年的 奇怪少女心贩卖馆
【1】一圈一圈又一圈……60岁的张老头已经在这家店门口,纠结地在大太阳底下晃了10分钟了。他为什么不敢进呢?如果是你,嘿嘿,估计你也不敢,因为这家店呀,实在太奇怪了。招牌上写着“粉红回忆”四个大字,瞬间让人想起来那种脸红心跳匆匆走过但总不忘偷瞄一眼的街边小店,有没有!而且装饰也很奇怪,门口草坪上坐落着四五个半人多高的粉红色心形装饰物,正面有一扇带着透明泪滴状把手的小门,再加上周围静谧甚至诡异的氛围
我就是不爱说话的S
·
2016-09-08 23:01
[HDU
2066
] 多个最短路比较大小
把小草家到中转站的距离看为0;然后从家里开始最短路就行了; 然后比较想去的点的最短路径输出最小的;#include #defineinf9999999 usingnamespacestd; intv,u,n,dis[2000],ma[2000][2000],vis[2000],sa[2000]; ints,t,d; voidinit();//*初始化 voidinput();//*读入t组数据存
qq_33638791
·
2016-05-11 21:00
HDU
2066
一个人的旅行(Dijkstra)
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):29668 AcceptedSubmission(s):10189ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢
llwwlql
·
2016-05-11 16:00
HDU
2066
一个人的旅行
一个人的旅行TimeLimit:1000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):29636AcceptedSubmission(s):10179ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途
jingttkx
·
2016-05-09 18:00
HDU
2066
一个人的旅行
pid=
2066
分析:题目要求输出草儿想去的城市的最短时间,就是家->A(相邻城市)->B(几个中的任意一个)的最短距离。
ZzZz_ing
·
2016-05-07 10:00
ACM
最短路径
初学者
poj
2066
一个人的旅行 最短路
一个人的旅行,题目链接,clickhere.TimeLimit:1000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):29537AcceptedSubmission(s):10147ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但
Trapper_C
·
2016-05-05 21:00
HDU
2066
:一个人的旅行(Dijkstra)
ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不
qq_27601815
·
2016-05-03 21:00
dijkstra
HDOJ-
2066
-一个人的旅行
ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不
f_zyj
·
2016-05-02 19:00
最短路
SPFA
floyd
hdu
2066
一个人的旅行(最短路)
解题思路:应该是最短路问题Dijkstra算法,虽然想到了超时,还是写了一个Floyd-Warshall版本,不过果断TLE了。。。先放一个TLE代码:#include #include #include #defineinf0x3f3f3f3f usingnamespacestd; intdp[1005][1005]; intS[1005],D[1005]; intmain() { //freo
wchhlbt
·
2016-04-30 17:00
ACM
最短路
HDU
HDU 2401 Baskets of Gold Coins(数学题)
BasketsofGoldCoinsTimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):
2066
liangzhaoyang1
·
2016-04-27 20:00
HDU
of
Gold
coin
数学题
2401
Baskets
HDU
2066
.一个人的旅行【最短路径(多次Dijsktra算法)】【4月17】
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):29171 AcceptedSubmission(s):10021ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢
a995549572
·
2016-04-17 11:00
C++
ACM
最短路径
HDU
dijkstra
HDU
2066
一个人的旅行 (floyd)
代码:#include #include #include #defineinf0x3fffffff intmap[1001][1001],max; boolstart[1001],end[1001]; intfloyd() { inti,j,k,min=inf; for(i=1;imap[j][k])//j是起点而且k是终点,则直接找最小值 min=map[j][k]; } } returnmi
qq_32473657
·
2016-04-13 18:00
HDU
2066
:一个人的旅行(Dijkstra)
pid=
2066
代码:#include #include #include usingnamespacestd; constintinf=1<<30; intT,S,D,n; intmaps[1111
qq_32473657
·
2016-04-13 18:00
最短路&差分约束题集
最短路【HDU】1548 Astrangelift基础最短路(或bfs)★2544 最短路 基础最短路★3790 最短路径问题基础最短路★
2066
一个人的旅行基础最短路(多源多汇,可以建立超级源点和终点
zchahaha
·
2016-04-04 08:00
分类
题集
最短路
HDU
差分约束
hdu
2066
一个人的旅行 最短路spfa
题意:从S个点出发到D个点的最短路。建一个超级源点与S个点相连,距离为0,建一个超级汇点与D个点相连,距离为0。然后计算最短路。#include #include #include #include #include #defineN1100 #defineINF0x7ffffff usingnamespacestd; intv[N],d[N],mp[N][N],n,s[N],t[N]; in
zchahaha
·
2016-03-30 15:00
C++
C语言
最短路
HDU
SPFA
HDU
2066
一个人的旅行
题目意思就是中文意思;有几点注意的:1.输入的边是从1开始的,但是没有告诉具体点数,所以要统计;2.第n+1-行给的是和小草家里相连的,所以意思就是从家--->车站--->想去的地方;因此,,思路就是把家到车站权值变为0,然后从车站开始搜最短路,这两个处理可以用一次dijkstraProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿
qq_33638791
·
2016-03-22 14:00
HDU
2066
一个人的旅行
ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不
sinat_24651079
·
2016-03-21 20:00
java
HDU
dijkstra
HDU-
2066
-一个人的旅行
一个人的旅行TimeLimit:1000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):28360AcceptedSubmission(s):9760ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中
qq_32680617
·
2016-03-18 14:00
最短路径
迪杰斯特拉
弗洛伊德
ural
2066
. Simple Expression
2066
.SimpleExpressionTimelimit:1.0secondMemorylimit:64MBYouprobablyknowthatAlexisaveryseriousmathematicianandhelikestosolveseriousproblems.ThisisanotherproblemfromAlex.Youaregiventhreenonnegativeinteg
功亏一篑
·
2016-03-04 10:00
HDU
2066
一个人的旅行(Dijkstra模板题)
ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不
tomorrowtodie
·
2016-02-10 02:00
算法
dijkstra
杭电
HDU
2066
一个人的旅行
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):27564 AcceptedSubmission(s):9564ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅
Cumulonimbus
·
2016-02-08 17:00
hdoj
2066
一个人的旅行
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):27548 AcceptedSubmission(s):9556ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅
yao1373446012
·
2016-02-05 20:00
hdoj
2066
一个人的旅行 【多源多汇最短路】
题目:hdoj
2066
一个人的旅行方法:缩点+最短路分析:看了大神的一篇博客,讲冗余压缩的,然后就想找一个多源最短路练练手。
phlsheji
·
2016-02-03 16:00
hdoj
2066
一个人的旅行 【多源多汇最短路】
题目:hdoj
2066
一个人的旅行方法:缩点+最短路分析:看了大神的一篇博客,讲冗余压缩的,然后就想找一个多源最短路练练手。
phlsheji
·
2016-02-03 16:00
hdu
2066
一个人的旅行
枚举全部相邻城市,作为起点,多次spfa,然后每次在想去的城市中找出spfa后的距离起点最短的花费时间#include #include #include usingnamespacestd; #defineMAX1005 #defineINF1q; q.push(src); while(!q.empty()) { intu=q.front();q.pop(); flag[u]=false;
mengfanrong
·
2016-02-02 16:00
分布式技术一周技术动态 2016.01.31
cc49792ef0948a140c37d99306363774&scene=0&key=710a5d99946419d985aba082e033564749c9f0d2b8bcb6374e884f6eb
2066
zhengran_baidu
·
2016-01-31 08:00
code vs三角恋
2066
三角恋时间限制:1s空间限制:128000KB题目等级:钻石Diamond题解查看运行结果题目描述Description人们的恋爱关系与如下特点:两个人a,b,如果a爱着b,那么b一定不爱a;如果
clover_hxy
·
2016-01-17 19:30
dfs
图论
code vs三角恋
2066
三角恋 时间限制:1s 空间限制:128000KB 题目等级:钻石Diamond题解 查看运行结果题目描述 Description人们的恋爱关系与如下特点:两个人a,b,如果a爱着b,那么b一定不爱
clover_hxy
·
2016-01-17 19:00
【codevs
2066
】三角恋
题目描述 Description人们的恋爱关系与如下特点:两个人a,b,如果a爱着b,那么b一定不爱a;如果a不爱b,那么b一定爱着a(yh的研究成果果然与众不同……)。现在,yh想知道,在n个人当中,是否存在三角恋现象(即a爱着b,b爱着c,c爱着a)。输入描述 InputDescription本题有多组测试数据第一行一个整数t,表示有t组测试数据。对于每组数据,第一行为一个整数n,表示共有n人
Clove_unique
·
2016-01-17 19:00
图
codevs
HDU【
2066
】一个人的旅行
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):27129 AcceptedSubmission(s):9389ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅
chen_ze_hua
·
2016-01-11 23:00
最短路径
HDU
hdu
2066
一个人的旅行(加超级源点)
FontSize:←→ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了
wqy20140101
·
2016-01-09 22:00
ACM
最短路
杭电
hdu
2066
(迪杰斯特拉算法模板)
这道题要注意重边问题==#include #include #include #include usingnamespacestd; constintmaxn=1000; intG[2*maxn][2*maxn]; intf[2*maxn],d[2*maxn]; #defineinf100000000 intdijk() { intans=0; memset(f,0,siz
NaCl__
·
2015-12-31 08:00
HDU
2066
一个人的旅行(spfa)
Description虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不能浪费啊,一定
V5ZSQ
·
2015-12-30 13:00
一个人的旅行 hdu
2066
一个人的旅行TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):26880 AcceptedSubmission(s):9323ProblemDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅
huangshuai147
·
2015-12-18 14:00
系统性能统计(CPU占用率,内存占用率,系统平均负载)
,0.2%si,0.0%st解释:1.9%us是用户占用cpu情况1.3%sy,是系统占用cpu情况2、获得内存占用情况[root@localhostutx86]#top-n1|grepMemMem:
2066
apexlj
·
2015-12-10 09:22
杭电
2066
一个人的旅行(最短路)(floyd)
无论如何 求最短路的题我总是想试一试floyd算法0.0第一发还是因为1000^3的复杂度TLE了一发不过后来还是通过小小的剪枝的技巧AC了~首先先介绍一下弗洛伊德算法0.0Floyd算法(Floyd-Warshallalgorithm)又称为弗洛伊德算法、插点法,是解决给定的加权图中顶点间的最短路径的一种算法,可以正确处理有向图或负权的最短路径问题,同时也被用于计算有向图的传递闭包。该算法名称以
mengxiang000000
·
2015-12-08 14:00
最短路
杭电
floyd
弗洛伊德
2066
HDU
2066
一个人的旅行(单源最短路SPFA)
Description虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时间,可不能浪费啊,一定
u014665013
·
2015-12-04 19:00
HDU
2066
dijkstra 最短路径
C- 一个人的旅行TimeLimit:1000MS MemoryLimit:32768KB 64bitIOFormat:%I64d&%I64uSubmit StatusDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……
zp___waj
·
2015-11-30 15:00
C++
图论
HDU
dijkstra
hdu
2066
一个人的旅行(最短路径 Dijkstra算法)
思路:Dijkstra求最短路径,将0节点作为原点,求出到各个点的距离。#include #include #include usingnamespacestd; #defineinf0x3fffffff #defineN1005 intT,S,D,n,map[N][N],vis[N],cast[N],s[N],e[N]; voidDijkstra() { inti,j,minn,pos; mem
u014552756
·
2015-11-29 20:00
hdu
2066
一个人的旅行 最短路径
一个人的旅行 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 18399 Accepted Submission(s): 6394 Pr
·
2015-11-13 16:37
最短路径
HDU
2066
一个人的旅行(最短路径)
一个人的旅行 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 18343 Accepted Submission(s): 6372
·
2015-11-13 13:49
最短路径
hdu
2066
一个人的旅行(dijkstra)
Problem Description 虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段
·
2015-11-13 12:01
dijkstra
hdu
2066
一个人的旅行
pid=
2066
这道题用floyd做的时候要稍微优化,不优化就会超时。
·
2015-11-13 05:07
HDU
winrar X64 win10 破解
datawncnUnlimited Company LicenseUID=1b064ef8b57de3ae9b5264122122509b52e35fd885373b214a4a64cc2fc1284b77ed14fa
2066
ebfca6509f981
·
2015-11-13 05:55
rar
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
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
其他