随笔分类 -  其它:二分

摘要:描述 Given an N x N square grid (2 <= N <= 15) and each grid has some beans in it. You want to write at most K (1 <= K <= 2N - 2) horizontal or vertical 阅读全文
posted @ 2019-11-25 14:10 zdragon 阅读(236) 评论(0) 推荐(0)
摘要:描述 FJ now is a postman of a small town in the hills. The town can be represented by a N×N matrix. Each field is represented with:-'K' character: a hou 阅读全文
posted @ 2019-11-17 18:24 zdragon 阅读(347) 评论(0) 推荐(0)
摘要:描述 Bessie has baked a rectangular brownie that can be thought of as an RxC grid (1 <= R <= 500; 1 <= C <= 500) of little brownie squares.The square at 阅读全文
posted @ 2018-08-18 22:26 zdragon 阅读(257) 评论(0) 推荐(0)