摘要: #include #include #include #include using namespace std; set mys; int main(){ string st; set ::iterator it; while(cin>>st) mys.insert(st); for(it=mys.begin();it!=mys.end();it++){ s... 阅读全文
posted @ 2016-07-21 03:06 俺叫王梦涵 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; double dis[205][205]; int a[205],b[205],n; void floyd() { for(int k=1;k>n) { if(n==0) break; for(int i=1;i>a[i... 阅读全文
posted @ 2016-07-21 01:52 俺叫王梦涵 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 畅通工程续 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 44889 Accepted Submission(s): 16651 Problem 阅读全文
posted @ 2016-07-21 01:31 俺叫王梦涵 阅读(242) 评论(0) 推荐(0) 编辑