摘要: 题意: 有一只可爱的不得了的小狗狗,迷上了一根小骨头,当它叼起了小骨头的时候却发现这是一个陷阱,小骨头就这样背叛了它(咳咳咳),然后它踩着的地面下一秒就会下沉,所以不能在一块地面停留超过一秒钟,倒霉的是,这个迷宫的大门只会在规定的时间内打开不超过1分钟,所以小狗必须在规定时间内到达大门才能逃出迷宫。... 阅读全文
posted @ 2017-08-09 15:30 Pretty9 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Queues and Priority Queues are data structures which are known to most computer scientists. TheTeam Queue, however, is not so well known, though it oc... 阅读全文
posted @ 2017-08-09 11:52 Pretty9 阅读(134) 评论(0) 推荐(0) 编辑
摘要: XX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安全的,每一条路有一个安全系数s,s是在 0 和 1 间的实数(包括0,1),一条从u 到 v 的通道P 的安全度为Safe(P) = s(e1)*s(e2)…*s(ek) e1,e2,ek是P 上的边 ,... 阅读全文
posted @ 2017-08-09 11:09 Pretty9 阅读(135) 评论(0) 推荐(0) 编辑
摘要: XiaoY is living in a big city, there are N towns in it and some towns near the sea. All these towns are numbered from 0 to N-1 and XiaoY lives... 阅读全文
posted @ 2017-08-09 10:47 Pretty9 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 六度分离Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10183 Accepted Submission(s): ... 阅读全文
posted @ 2017-08-09 09:32 Pretty9 阅读(152) 评论(0) 推荐(0) 编辑
摘要: HDU TodayTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 31274 Accepted Submissio... 阅读全文
posted @ 2017-08-09 09:26 Pretty9 阅读(123) 评论(0) 推荐(0) 编辑