示例#1
0
 static void Test2()
 {
     var shop = new FoxAndFlowerShopDivTwo();
     Console.WriteLine(shop.theMaxFlowers(new string[]
                                              {
                                                  ".FF.F.F",
                                                  "FF...F.",
                                                  "..FF.FF"
                                              }, 1, 2));
 }
示例#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));
        }
示例#3
0
 static void Test3()
 {
     var shop = new FoxAndFlowerShopDivTwo();
     Console.WriteLine(shop.theMaxFlowers(new string[]
                                              {
                                                  "F",
                                                  ".",
                                                  "F",
                                                  "F",
                                                  "F",
                                                  ".",
                                                  "F",
                                                  "F"
                                              }, 4, 0));
 }