上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 129 下一页
摘要: https://www.luogu.org/problem/show?pid=1359 题目描述 长江游艇俱乐部在长江上设置了n 个游艇出租站1,2,…,n。游客可在这些游艇出租站租用游艇,并在下游的任何一个游艇出租站归还游艇。游艇出租站i 到游艇出租站j 之间的租金为r(i,j),1<=i<=j< 阅读全文
posted @ 2017-03-12 20:02 Aptal丶 阅读(167) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problem/show?pid=2384 题目背景 狗哥做烂了最短路,突然机智的考了Bosh一道,没想到把Bosh考住了...你能帮Bosh解决吗? 他会给你100000000000000000000000000000000000%10金币w 题目描述 阅读全文
posted @ 2017-03-12 19:47 Aptal丶 阅读(180) 评论(0) 推荐(0) 编辑
摘要: http://codevs.cn/problem/1231/ 时间限制: 1 s 时间限制: 1 s 空间限制: 128000 KB 空间限制: 128000 KB 题目等级 : 白银 Silver 题目描述 Description 学校需要将n台计算机连接起来,不同的2台计算机之间的连接费用可能是 阅读全文
posted @ 2017-03-12 19:17 Aptal丶 阅读(158) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problem/show?pid=3371 题目描述 如题,给出一个有向图,请输出从某一点出发到所有点的最短路径长度。 输入输出格式 输入格式: 第一行包含三个整数N、M、S,分别表示点的个数、有向边的个数、出发点的编号。 接下来M行每行包含三个整数Fi、 阅读全文
posted @ 2017-03-12 10:32 Aptal丶 阅读(352) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int maxn=120; const int maxm=10010; const int INF=999999;//如果在算法中没有先判断是不是 q; q.push(s); visted[s]=1; while... 阅读全文
posted @ 2017-03-12 10:25 Aptal丶 阅读(245) 评论(0) 推荐(0) 编辑
上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 129 下一页