注:初始化使所有值都为无穷大
#include<iostream>
#include<stdio.h>
#include<math.h>
#include<algorithm>
#include<cstring>
using namespace std;
int main (){
int n,i,j,k;
cin >>
注:初始化使所有值都为无穷大
#include<iostream>
#include<stdio.h>
#include<math.h>
#include<algorithm>
#include<cstring>
using namespace std;
int main (){
int n,i,j,k;
cin >>