摘要: 题目链接: Matrix Decompressing 题意: 给一个矩阵的每行和每列的和,(给的是前i行或者列的和); 矩阵中每个元素的值在1到20之间,找出这样的一个矩阵; 思路: 把它转化成一个二分图,每行和每列之间连一条弧,然后设置一个源点和一个汇点,源点与行点相连,汇点与列点相连,求一个最大 阅读全文
posted @ 2016-05-12 23:57 LittlePointer 阅读(497) 评论(0) 推荐(0)
摘要: 题目链接: D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 1 阅读全文
posted @ 2016-05-12 10:01 LittlePointer 阅读(599) 评论(0) 推荐(0)
摘要: 题目链接: C. Recycling Bottles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit pe 阅读全文
posted @ 2016-05-12 09:55 LittlePointer 阅读(814) 评论(0) 推荐(0)
摘要: 题目链接: B. Different is Good time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit pe 阅读全文
posted @ 2016-05-12 09:49 LittlePointer 阅读(702) 评论(0) 推荐(0)
摘要: 题目链接: A. Summer Camp time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 阅读全文
posted @ 2016-05-12 09:42 LittlePointer 阅读(780) 评论(0) 推荐(0)