1 #pragma comment(linker, "/STACK:1024000000,1024000000") 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include
q; 55 q.push(1); 56 while(!q.empty()){ 57 int u=q.front(); 58 q.pop(); 59 if(dis[u]==0){ 60 return; 61 } 62 int minn=-1; 63 for(int i=0;i