摘要: 模拟着算写完 挂在第7组上 之后乱七八糟的改。。终于刷完了第二章 刷了好久了。。偶尔想起来刷刷View Code 1 /* 2 ID: shangca2 3 LANG: C++ 4 TASK: fracdec 5 */ 6 #include <iostream> 7 #include<cstdio> 8 #include<cstring> 9 #include<stdlib.h>10 #include<algorithm>11 using namespace std;12 int d,di[100000],v[1000001],g,f 阅读全文
posted @ 2013-04-28 18:36 _雨 阅读(192) 评论(3) 推荐(0) 编辑
摘要: floyd之后 枚举找最小就行 会有重边View Code 1 /* 2 ID: shangca2 3 LANG: C++ 4 TASK: comehome 5 */ 6 #include <iostream> 7 #include<cstdio> 8 #include<cstring> 9 #include<algorithm>10 #include<stdlib.h>11 #define INF 0x3f3f3f12 using namespace std;13 int w[110][110];14 int main()15 {1 阅读全文
posted @ 2013-04-28 10:46 _雨 阅读(166) 评论(0) 推荐(0) 编辑