Ejemplo n.º 1
0
        public override bool Test2()
        {
            var game = new CrabCups("712643589", true);

            PRINT = false;
            game.Play(10000000);

            bool testSucceeded = false;

            return(testSucceeded);
        }
Ejemplo n.º 2
0
        public override bool Test()
        {
            PRINT = true;
            var game = new CrabCups("389125467");

            game.Play(100);
            var  res           = game.GetResult();
            bool testSucceeded = res == "67384529";

            return(testSucceeded);
        }
Ejemplo n.º 3
0
        public override string First()
        {
            string        filename = GetFilename();
            List <string> input    = System.IO.File.ReadAllLines(filename).ToList();

            PRINT = true;
            var game = new CrabCups("712643589");

            game.Play(100);
            var res = game.GetResult();

            return(res.ToString());
        }