2016年1月13日

codeforces 616D Longest k-Good Segment(two pointer)

摘要: D. Longest k-Good Segment D. Longest k-Good Segment The array a with n integers is given. Let's call the sequence of one or more consecutive elements 阅读全文

posted @ 2016-01-13 14:03 焰 阅读(435) 评论(0) 推荐(0) 编辑

codeforces 616C The Labyrinth(flood fill)

摘要: C. The LabyrinthYou are given a rectangular field ofn × mcells. Each cell is either empty or impassable (contains an obstacle). Empty cells are marked... 阅读全文

posted @ 2016-01-13 11:24 焰 阅读(517) 评论(0) 推荐(0) 编辑

导航