摘要: Censor frog is now a editor to censor so-called sensitive words (敏感词). She has a long text p . Her job is relatively simple -- just to find the first 阅读全文
posted @ 2017-05-01 10:22 mxzf0213 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Travel The country frog lives in has n towns which are conveniently numbered by 1,2,…,n . Among n(n−1)2 pairs of towns, m of them are connected by bid 阅读全文
posted @ 2017-05-01 00:15 mxzf0213 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Right turn frog is trapped in a maze. The maze is infinitely large and divided into grids. It also consists of n obstacles, where the i-th obstacle li 阅读全文
posted @ 2017-05-01 00:06 mxzf0213 阅读(363) 评论(0) 推荐(0) 编辑