摘要: 我的code: 超时,不知道怎么优化,望大神指点 1 #include 2 #include 3 #include 4 using namespace std; 5 6 struct StepPoint 7 { 8 int X,Y,Val; 9 const bool operator q; 18 q.push(beginP); 19 while (!q.empty()) 20 { 21 StepPoint p=q.top(); 22 q.pop(); 23 StepPoint p... 阅读全文
posted @ 2013-08-27 22:13 光辉灿烂的日子 阅读(199) 评论(0) 推荐(0) 编辑