コード例 #1
0
ファイル: Program.cs プロジェクト: Maxime9812/C-
        public static void Main(string[] args)
        {
            TD1 tD1 = new TD1();
            //TD1.Test();
            TD2 tD2 = new TD2();
            //TD2.Test();
            TD4 td4 = new TD4();

            TD4.Test();
        }
コード例 #2
0
        public static string River_unique(long max)
        {
            string sequences = "";
            // Ne rien modifier au dessus de ce commentaire

            string river100 = TD2.River_max_sequence(1, 100);

            Console.WriteLine(river100);
            // Ne rien modifier au dessous de ce commentaire
            return(sequences);
        }
コード例 #3
0
        public static string Conway_previous(string start)
        {
            string conway = "";
            // Ne rien modifier au dessus de ce commentaire
            string nbconway = "1";

            while (nbconway != start)
            {
                nbconway = TD2.Conway_next(nbconway);
                if (nbconway == start)
                {
                    break;
                }
                conway = nbconway;
            }
            // Ne rien modifier au dessous de ce commentaire
            return(conway);
        }