摘要: Repetitions of Substrings Description The “repetitions” of a string S(whose length is n) is a maximum number “k” such that: 1) k is a factor of n 2) S 阅读全文
posted @ 2016-02-18 13:28 ACMSaga 阅读(308) 评论(0) 推荐(0)
摘要: Uiwurerirexb jeqvad Description Fmur lan oxbrvu mzx, E abpxcay Jvmffabza qdxwfaou eb vmjsad.xdz, eb nvejv rvada mda ombc jdcqrxzdmqvc qdxwfaou. Moxbz 阅读全文
posted @ 2016-02-18 13:21 ACMSaga 阅读(488) 评论(0) 推荐(0)
摘要: Hamming Distance Description Have you ever heard of the Hamming distance. It is the number of positions for which the corresponding digits differ. You 阅读全文
posted @ 2016-02-18 13:11 ACMSaga 阅读(276) 评论(0) 推荐(0)
摘要: 小Q系列故事——最佳裁判 Problem Description 过去的2012年对小Q来说是很悲催的一年,失恋了12次,每次都要郁闷1个来月。 好在小Q是个体育迷,在最痛苦的时候,他常常用观看各种体育节目来麻醉自己,比如伦敦奥运会期间,小Q就常常在周末邀上一群单身同事聚在自己的蜗居,一边畅饮啤酒, 阅读全文
posted @ 2016-02-18 12:53 ACMSaga 阅读(266) 评论(0) 推荐(0)
摘要: The sum problem Problem Description Given a sequence 1,2,3,......N, your job is to calculate all the possible sub-sequences that the sum of the sub-se 阅读全文
posted @ 2016-02-18 12:38 ACMSaga 阅读(201) 评论(0) 推荐(0)