static void RunMaxArraySum() { var number = Convert.ToInt32(Console.ReadLine()); int[] numberArray = Array.ConvertAll(Console.ReadLine().Split(' '), tempArray => Convert.ToInt32(tempArray)); var dynamicProgrammer = new DynamicProgrammer(); int result = dynamicProgrammer.CalculateMaxSubsetSum(numberArray); Console.WriteLine(result); }
static void RunAbbreviation() { var testsAmount = Convert.ToInt32(Console.ReadLine()); var dynamicProgrammer = new DynamicProgrammer(); for (var i = 0; i < testsAmount; i++) { var transformingString = Console.ReadLine(); var targetString = Console.ReadLine(); string result = dynamicProgrammer.FindOutCanWeTransformOneStringToAnother(transformingString, targetString); Console.WriteLine(result); } }