摘要: Truck HistoryTime Limit:2000MSMemory Limit:65536KTotal Submissions:9665Accepted:3556DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each type of a truck. 阅读全文
posted @ 2011-07-28 11:11 AC_Von 阅读(565) 评论(0) 推荐(1) 编辑
摘要: 转载:http://blog.csdn.net/akof1314/article/details/4388304 图的存储方式可以用邻接矩阵来表示,我们假定顶点序号从0开始,即图G的顶点集的一般形式是V(G)={v0,vi,…,Vn-1}。以下代码测试过,为图的邻接矩阵表示方式。测试结构如下(含测试数据):View Code /************************************************************************//* 图的邻接矩阵存储结构 *//********************************************. 阅读全文
posted @ 2011-07-28 08:10 AC_Von 阅读(977) 评论(0) 推荐(0) 编辑