示例#1
0
 static void Main(string[] args)
 {
     BagOfHolding x = new BagOfHolding();
     int[] a = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
     Console.WriteLine(x.oddsReachable(a, 4));
     Console.ReadLine();
 }
示例#2
0
        static void Main(string[] args)
        {
            BagOfHolding x = new BagOfHolding();

            int[] a = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            Console.WriteLine(x.oddsReachable(a, 4));
            Console.ReadLine();
        }