随笔分类 -  poj

poj 1751 highways
摘要:用prim能过,用ku...超时ku...#include<iostream> using namespace std; struct town{ int x; int y; }town[800]; struct dist{ int from; int to; int dis; int vis; }dist[320000]; int cmp(const void *a, const void *b) { return (*(struct dist *)a).dis > (*(stru... 阅读全文

posted @ 2012-04-19 20:37 java课程设计例子 阅读(311) 评论(0) 推荐(0)