public static void Main() { try { Console.WriteLine(Task1.Solve(124075, 580769)); Console.WriteLine(Task2.Solve(124075, 580769)); } catch (Exception ex) { Console.WriteLine(ex); } Console.WriteLine("..."); Console.ReadLine(); }
public void MeetsCriteria(int[] value, bool expected) { Assert.AreEqual(expected, Task2.MeetsCriteria(value)); }