コード例 #1
0
        public static void Test()
        {
            Solution s = new Solution();

            Console.WriteLine(s.LongestDiverseString(1, 1, 7) + "  \r\nccaccbcc");
            Console.WriteLine(s.LongestDiverseString(2, 2, 1) + "  \r\naabbc");
            Console.WriteLine(s.LongestDiverseString(7, 1, 0) + "  \r\naabaa");
            Console.WriteLine(s.LongestDiverseString(2, 2, 1) + "  \r\n");
            Console.WriteLine(s.LongestDiverseString(0, 8, 11) + "  \r\n");
            Console.WriteLine(s.LongestDiverseString(4, 42, 7) + "  \r\nbbcbbcbbcbbabbcbbabbcbbabbcbbabbcbb");
        }