摘要: Monocarp and Bicarp live in Berland, where every bus ticket consists of nn digits (nn is an even number). During the evening walk Monocarp and Bicarp 阅读全文
posted @ 2020-06-10 21:04 DeaL57 阅读(207) 评论(0) 推荐(0) 编辑
摘要: There is a white sheet of paper lying on a rectangle table. The sheet is a rectangle with its sides parallel to the sides of the table. If you will ta 阅读全文
posted @ 2020-06-10 09:42 DeaL57 阅读(180) 评论(0) 推荐(0) 编辑
摘要: There is a white sheet of paper lying on a rectangle table. The sheet is a rectangle with its sides parallel to the sides of the table. If you will ta 阅读全文
posted @ 2020-06-10 09:40 DeaL57 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Suppose there is a h×wh×w grid consisting of empty or full cells. Let's make some definitions: riri is the number of consecutive full cells connected 阅读全文
posted @ 2020-06-10 08:49 DeaL57 阅读(157) 评论(0) 推荐(0) 编辑