Пример #1
0
        public static void reducedStrings()
        {
            string s      = Console.ReadLine();
            string result = StringSolutions.superReducedString(s);

            System.Console.WriteLine(result);
        }
Пример #2
0
        public static void alternate()
        {
            int    l      = Convert.ToInt32(Console.ReadLine().Trim());
            string s      = Console.ReadLine();
            int    result = StringSolutions.alternate(s);

            System.Console.WriteLine(result);
        }
Пример #3
0
        public static void minimumNumber()
        {
            int    n        = Convert.ToInt32(Console.ReadLine());
            string password = Console.ReadLine();
            int    answer   = StringSolutions.minimumNumber(n, password);

            System.Console.WriteLine(answer);
        }
Пример #4
0
        public static void camelcase()
        {
            string s = Console.ReadLine();

            int result = StringSolutions.camelcase(s);

            System.Console.WriteLine(result);
        }
Пример #5
0
        public static void caesarCipher()
        {
            int n = Convert.ToInt32(Console.ReadLine());

            string s = Console.ReadLine();

            int k = Convert.ToInt32(Console.ReadLine());

            string result = StringSolutions.caesarCipher(s, k);

            Console.WriteLine(result);
        }