Пример #1
0
 public void Task3669Test()
 {
     Assert.AreEqual(1235520, Lab06.Task3669(8, 13));
     Assert.AreEqual(1235520, Lab06.Task3669(13, 8));
     Assert.AreEqual(4095840, Lab06.Task3669(159, 161));
     Assert.AreEqual(648, Lab06.Task3669(648, 648));
     Assert.AreEqual(0, Lab06.Task3669(-2, 600));
     Assert.AreEqual(399703747322880000, Lab06.Task3669(35, 24));
 }
 static void Step3669()
 {
     Console.WriteLine();
     Console.WriteLine("3669");
     Console.WriteLine("{0} ({1})", Lab06.Task3669(8, 13), 1235520);
     Console.WriteLine("{0} ({1})", Lab06.Task3669(159, 161), 4095840);
     Console.WriteLine("{0} ({1})", Lab06.Task3669(648, 648), 648);
     Console.WriteLine("{0} ({1})", Lab06.Task3669(-2, 600), 0);
     Console.WriteLine("{0} ({1})", Lab06.Task3669(35, 24), 399703747322880000);
 }