Exemple #1
0
 static void Test2()
 {
     var shop = new FoxAndFlowerShopDivTwo();
     Console.WriteLine(shop.theMaxFlowers(new string[]
                                              {
                                                  ".FF.F.F",
                                                  "FF...F.",
                                                  "..FF.FF"
                                              }, 1, 2));
 }
Exemple #2
0
        static void Test0()
        {
            var flower = new string[] {
                             "F.F",
                             ".F.",
                             ".F."
                         };
            var r = 1;
            var c = 1;

            var shop = new FoxAndFlowerShopDivTwo();
            Console.WriteLine(shop.theMaxFlowers(flower, r, c));
        }
Exemple #3
0
 static void Test3()
 {
     var shop = new FoxAndFlowerShopDivTwo();
     Console.WriteLine(shop.theMaxFlowers(new string[]
                                              {
                                                  "F",
                                                  ".",
                                                  "F",
                                                  "F",
                                                  "F",
                                                  ".",
                                                  "F",
                                                  "F"
                                              }, 4, 0));
 }