摘要: 做题的时候忘了 数据结构老师说的hash表了, 用二分找,还好过了, hash 表 对这题 更快一些 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int maxn... 阅读全文
posted @ 2015-03-09 22:40 来自大山深处的菜鸟 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 21:49:452015-03-09传送http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1478这题说的是运送货物需要交纳过路费。进入一个村庄需要交纳1个单位... 阅读全文
posted @ 2015-03-09 21:51 来自大山深处的菜鸟 阅读(138) 评论(0) 推荐(0) 编辑