摘要:
View Code 1 //poj 1077 八数码 2 #include <iostream> 3 #include<cmath> 4 #include<queue> 5 #include<stdio.h> 6 #include<stack> 7 #include<stdlib.h> 8 #include<string.h> 9 #define M 10000000 10 using namespace std; 11 int fac[] = {1,1,2,6,24,120,720,5040,40320,36 阅读全文
摘要:
--Morelumber is required(多校10,7th,hdu4396,k条边最短路,二维dijkstra)TimeLimit: 10000/5000 MS (Java/Others) Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 666 Accepted Submission(s): 286ProblemDescription“More lumber is required” When thefamous warcrafts player Sky wants to build a Central . 阅读全文