摘要:
AtCoder Grand Contest 019 B - Reverse and Compare 题意:给定字符串,可以选定任意i、j且i<=j(当然i==j时没啥卵用),然后翻转i到j的字符串,问能组成多少种不同的字符串。 tourist出的题。。感觉好棒,虽然简单,但我就是不知道怎么弄,感觉思 阅读全文
摘要:
B. Once Again... time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an array o 阅读全文