摘要:
H. Queries for Number of Palindromestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a strings = s1s2...s|s|of length|s|, consisting of lowercase English letters. There also areqqueries, each query is described by two integersli, ri 阅读全文
posted @ 2012-11-21 19:43
YogyKwan
阅读(270)
评论(0)
推荐(1)
摘要:
C. Game with Coinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo pirates Polycarpus and Vasily play a very interesting game. They havenchests with coins, the chests are numbered with integers from 1 ton. Chest numberihasaicoins.Polycarpus an 阅读全文
posted @ 2012-11-21 19:39
YogyKwan
阅读(418)
评论(0)
推荐(0)

浙公网安备 33010602011771号