摘要: Today, Soda has learned a sequence whosen-th(n≥1)item is3n(n−1)+1. Now he wants to know if an integermcan be represented as the sum of some items of t... 阅读全文
posted @ 2015-07-26 20:54 Painting、时光 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Today is the 1st anniversary of BestCoder. Soda, the contest manager, gets a stringsof lengthn. He wants to find three nonoverlapping substringss[l1..... 阅读全文
posted @ 2015-07-26 10:42 Painting、时光 阅读(146) 评论(0) 推荐(0) 编辑