摘要:
Count the stringProblem DescriptionIt is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string. For example: s: "abab" The prefixes are: "a", "ab", " 阅读全文
摘要:
Ultra-QuickSortTime Limit: 7000MSMemory Limit: 65536KTotal Submissions: 32009Accepted: 11395DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sort. 阅读全文
摘要:
StarsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 25425Accepted: 11109DescriptionAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars that are not higher and not to 阅读全文