摘要: The map of Berland is a rectangle of the size n × m, which consists of cells of size 1 × 1. Each cell is either land or water. The map is surrounded b 阅读全文
posted @ 2016-10-04 00:08 ACforever 阅读(628) 评论(0) 推荐(0) 编辑
摘要: Polycarp is a music editor at the radio station. He received a playlist for tomorrow, that can be represented as a sequence a1, a2, ..., an, where ai  阅读全文
posted @ 2016-10-04 00:05 ACforever 阅读(544) 评论(0) 推荐(0) 编辑
摘要: Modern text editors usually show some information regarding the document being edited. For example, the number of words, the number of pages, or the n 阅读全文
posted @ 2016-10-04 00:01 ACforever 阅读(307) 评论(0) 推荐(0) 编辑
摘要: There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the pointx2, and 阅读全文
posted @ 2016-10-04 00:00 ACforever 阅读(210) 评论(0) 推荐(0) 编辑