private static void LISDRiverCode() { LIS lIS = new LIS(); int[] input = new int[1000]; for (int i = 0; i < 1000; i++) { input[i] = i + 1; } input[500] = 0; //Console.WriteLine(lIS.CalculateLIS(input)); Console.WriteLine(lIS.CalculateLIS(new int[] { 0 })); }
static void Main(string[] args) { Console.WriteLine(IterFib(6)); DPCoin coin = new DPCoin(); coin.Count(12); LIS lis = new LIS(); lis.Count(new int[]{ 5, 3, 4, 8, 6, 7,9,11,13,4,5,7 }); Console.Read(); }