#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #define N 10000 using namespace std; struct EDGE { int to;//终点 int cost;//边的权值 }; vector<EDGE>G[N];//G[i]中i表示出发点 int m,n; int te…
Reward Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13509 Accepted Submission(s): 4314 Problem Description Dandelion's uncle is a boss of a factory. As the spring festival is coming , he w…