c#include <bits/stdc++.h> using namespace std; bool isVisit[10001]; struct Item{ int edge; int cost; bool operator<(Item A) const{ return cost > A.cost;
#include <bits/stdc++.h> using namespace std; bool isVisit[10001]; struct Item{ int edge; int cost; bool operator<(Item A) const{ return cost > A.cost;