2016年1月29日
摘要: 题目链接:Find a way bfs水题。 1 /* 2 只有两个人啊。分别以两个人为起点bfs,计算出每个人到每个KFC 的时间。两个人都能到达的KFC的较大时间的最小值、就是ans。好水。T_T 3 */ 4 5 #include <stdio.h> 6 #include <string.h> 阅读全文
posted @ 2016-01-29 21:01 小小八 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=103921#problem/M 开始数组是三维210的,MLE,然后超时,stl-queue 改成了数组模拟队列。水题。 1 /* 2 想了想。好像和POJ 3414 差不多。 3 阅读全文
posted @ 2016-01-29 19:24 小小八 阅读(225) 评论(0) 推荐(0) 编辑