Esempio n. 1
0
        public static void Test()
        {
            Solution s = new Solution();

            //Console.WriteLine(s.NumPoints());

            s.PrefixesDivBy5(new int[] { 0, 1, 1, 1, 1, 1 }).PrintList();
            s.PrefixesDivBy5(new int[] { 1, 1, 1 }).PrintList();
        }
        public static void Test()
        {
            Solution s = new Solution();

            int[] n1 = new int[] { 0, 1, 1, 1, 1, 1 };
            s.PrefixesDivBy5(n1).PrintList();

            int[] n2 = new int[] { 1, 1, 0, 0, 0, 1, 0, 0, 1 };
            s.PrefixesDivBy5(n2).PrintList();
        }