摘要:
我的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... 阅读全文