摘要: 给一个n×n的01矩阵,你的任务是将尽量少的0变成1,是的每个元素的上下左右的位置(如果存在的话)的之和均为偶数。1#include #include using namespace std;const int N = 20;const int INF = 1=1 && tx=1 && ty>=1;... 阅读全文
posted @ 2015-12-08 18:39 justPassBy 阅读(514) 评论(0) 推荐(0) 编辑