摘要: 250pt题意:给定二维格点图和一个在格点图中的禁止点,每个格点包含0或1,求最多有多少个1被包含在一个不包含在禁止点的矩形里。分析:以禁止点所在行,列为边界,枚举,共4种情况。View Code #include <cstdlib> #include <cctype> #include <cstring> #include <cstdio> #include <cmath> #include <algorithm> #include <vector> #include <string> #incl 阅读全文
posted @ 2012-09-14 11:13 蚀 阅读(163) 评论(0) 推荐(0) 编辑