private static void Main()
        {
            var superQueue = new SuperQueue();
            var command = Console.ReadLine();

            while (!command.Contains("End"))
            {
                superQueue.CommandParse(command);
                command = Console.ReadLine();
            }

            Console.Write(superQueue.Output);
        }
示例#2
0
        private static void Main()
        {
            var superQueue = new SuperQueue();
            var command    = Console.ReadLine();

            while (!command.Contains("End"))
            {
                superQueue.CommandParse(command);
                command = Console.ReadLine();
            }

            Console.WriteLine(superQueue.Output);
        }