HDU 1690 Bus System(二)

2014-11-24 09:46:53 · 作者: · 浏览: 6
scanf("%d%d",&u,&v);
if(d[u][v]!=INF){
printf("The minimum cost between station %d and station %d is ",u,v);
cout << d[u][v] << ".\n";
}
else
printf("Station %d and station %d are not attainable.\n",u,v);
}
}
return 0;
}