#include #include #include using namespace std; const int M=2005; #define min(a,b) al) map[s][e]=map[e][s]=l; } for(k=0;k