예제 #1
0
            public CrabCups(string cups, bool reachMillion)
            {
                Cups             = cups.Select(c => c.ToString()).Select(Int32.Parse).ToList();
                CurrcentCupIndex = 0;

                var maxValue = Cups.Max();

                for (int i = maxValue + 1; i <= 1000000; i++)
                {
                    Cups.Add(i);
                }
            }