Ejemplo n.º 1
0
        public void ABC085BTest(string input, string output)
        {
            var outputs = SplitByNewLine(output);
            IAtCoderQuestion question = new ABC085B();

            var answers = question.Solve(input).Select(o => o.ToString()).ToArray();

            Assert.Equal(outputs, answers);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            IAtCoderQuestion question = new ABC085B();    // 問題に合わせて書き換え
            var answers = question.Solve(Console.In);

            foreach (var answer in answers)
            {
                Console.WriteLine(answer);
            }
        }