摘要: 光找bugs ,忘了注册cf 的比赛了,、、、、、程序一直 TLE ,好是郁闷,搜索 直接把我搞死了写的搜索太暴力了,改进版,代码太烂了关键是dist 存路径距离 使搜索 直接降低一个复杂度View Code #include<iostream>#include<cstdio>#include<queue>#include<string.h>const int N =110;const int inf=999999999;using namespace std;struct node{ int x,y; node(int a=0,int b=0) 阅读全文
posted @ 2012-04-24 23:03 skyming 阅读(250) 评论(0) 推荐(0) 编辑