Codeforces Round #168 (Div. 2) B. Convex Shape(暴力)
摘要:
B. Convex Shapetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputConsider an n × m grid. Initially all the cells of the grid are colored white. Lenny has painted some of the cells (at least one) black. We call a painted grid convex if one can 阅读全文
posted @ 2013-02-22 15:15 铁树银花 阅读(366) 评论(0) 推荐(0) 编辑