摘要: 题目:USACONOCOW结果:代码:#include<fstream>using namespace std;struct Map{ int length; bool intree;};int length,total,Arc[100][100];Map a[100];int findTheShortest(){ int i,j,shortest=1000000; for(i=0;i<total;i++) if(a[i].intree==false&&a[i].length<shortest) {shortest=a[i].length; ... 阅读全文
posted @ 2012-04-25 13:07 无殇天下 阅读(155) 评论(0) 推荐(0)