摘要:
#include#include#define N 550int map[N][N];int f[N][N][5],h[N][5];int pre[N];int find(int n) {if(n!=pre[n])pre[n]=find(pre[n]);return pre[n];}int main... 阅读全文
摘要:
#include#include#include#define N 200#define inf 999999999double map[N][N];int visit[N],next[N];int main() {int n,m,i,j,k,cnt;double a[N],b[N],dis,min... 阅读全文
摘要:
#include#include#include#includeusing namespace std;#define N 40#define inf 999999999mapmymap;double ma[N][100];int main() {int t,n,m,i,j,k,f1,f2,coun... 阅读全文