摘要:
题目连接http://poj.org/problem?id=1251代码#include<stdio.h>#include<stdlib.h>#include<string.h>int parent[257];int n, m;struct node { char u, v; int w;};struct node a[101];int cmp(const void *a, const void *b){ struct node c = *(struct node *)a; struct node d = *(struct node *)b; return 阅读全文