摘要: 这题真的......对我自己真的无语了,各种奇葩的错误有没有!!!这是一个队列模拟题,我也想说模拟神马的最讨厌了。。。直接上代码:#include #include typedef struct node{ int x,y,t;} tr ;int cmp(const void *a,const... 阅读全文
posted @ 2013-07-22 21:59 、小呆 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 果然复习期间一个题都没敲就是手生了。一定要记得啊:重复边保存最小的!!!一开始还是没想到这个,最后忍无可忍动用了模版也没过才想到....prim算法代码操作就不说了,直接上代码:#include #include #define typec int // type of costconst type... 阅读全文
posted @ 2013-07-22 15:05 、小呆 阅读(179) 评论(0) 推荐(0) 编辑