poj 1275
摘要:
代码:#include<iostream>#include<fstream>#include<queue>using namespace std;struct e{ int data; int cost; e *next;};e edge[25];int n,m;int r[25],num[25];void add(int s,int t,int w){ e *p=new e; p->data=t; p->cost=w; p->next=edge[s].next; edge[s].next=p;}int v[25];int ans;int 阅读全文
posted @ 2011-05-27 10:21 宇宙吾心 阅读(303) 评论(0) 推荐(0)
浙公网安备 33010602011771号