Codeforces Round #179 (Div. 2) B. Yaroslav and Two Strings(组合数学)
摘要:
B. Yaroslav and Two Stringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYaroslav thinks that two stringssandw, consisting of digits and having lengthnare non-comparable if there are two numbers,iandj(1 ≤ i, j ≤ n), such thatsi > wiandsj < 阅读全文
posted @ 2013-04-29 17:55 铁树银花 阅读(398) 评论(0) 推荐(0) 编辑