摘要: 输出的时候发现不会对原来的矩阵排序,只好重新搞了一储存边的一维数组,然后排序。#includeusing namespace std;const int N=256;const int inf=0x7fffffff;struct type{ int b,c,f; int ... 阅读全文
posted @ 2015-08-20 22:26 xryz 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;int main(){ int _,i,j,m,n,k,a[1024],b[1024],w[1024],dp[2048]; scanf("%d\n",&... 阅读全文
posted @ 2015-08-20 21:34 xryz 阅读(104) 评论(0) 推荐(0) 编辑