类别归档:topcoder-srm

Topcoder SRM(Single Round Match)是由Topcoder公司定期主持的一项线上算法竞赛。

RSS feed of topcoder-srm

[TopCoder]SRM 687 Div2 Quacking

题目描述:

Ducks have started mysteriously appearing in your room. All ducks make the same sound: "quack". Each duck makes the sound one or more times, one after another. For example, valid sounds for a single duck are "quack", "quackquackquackquack", "quackquack" ...

继续阅读

[TopCoder]SRM 672 Div2 SubstitutionCipher

题目描述:

Recently you learned about substitution ciphers. This problem is about such a cipher. All strings in this problem (both encrypted and decrypted ones) will consist of only uppercase English letters ('A'-'Z').

When encrypting text using a substitution cipher ...

继续阅读