Beispiel #1
0
        static void Main(string[] args)
        {
            TrapWater tw     = new TrapWater();
            int       result = tw.CalculateStorage(new int[] { 0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1 });

            Console.WriteLine(result);
            Console.ReadKey();
        }