摘要:
简单并查集 AC代码 #include <map> #include <string> #include <iostream> #include <cstdio> #include <vector> using namespace std; string find(map<string,string 阅读全文
posted @ 2016-03-01 23:40
aldorado
阅读(125)
评论(0)
推荐(0)
摘要:
贪心算法 注意两点: 1、sum用double类型 2、第二个测试点是起点没有加油站的情况 AC代码 1 #include <vector> 2 #include <cstdio> 3 #include <algorithm> 4 #include <map> 5 using namespace s 阅读全文
posted @ 2016-03-01 22:32
aldorado
阅读(169)
评论(0)
推荐(0)
浙公网安备 33010602011771号