Exemple #1
0
        public static Boolean Q27_StrStr_Test()
        {
            Q27StrStr qstring = new  Q27StrStr();

            try{
                Console.WriteLine(qstring.Q27_StrStr("a", "a"));
                Console.WriteLine(qstring.Q27_StrStr("aaa", "aaa"));
                return(true);
            }
            catch
            {
                return(false);
            }
        }
Exemple #2
0
 static void Main(string[] args)
 {
     Console.WriteLine("Q27_StrStr_Test" + Q27StrStr.Q27_StrStr_Test().ToString());
 }