public void TestDigitFifthPowers() { var task = new Task30(); Assert.AreEqual(443839, task.Run(), $"The sum of all the numbers that can be written as the sum of fifth powers of their digits is {task.Run()}"); }
static void Main(string[] args) { //CustomLogger.LogStartExample("Lecture 4. Task03."); //{ // Task03 example = new Task03(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task05."); //{ // Task05 example = new Task05(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task06."); //{ // Task06 example = new Task06(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task07."); //{ // Task07 example = new Task07(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task08."); //{ // Task08 example = new Task08(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task09."); //{ // Task09 example = new Task09(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task10."); //{ // Task10 example = new Task10(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task11."); //{ // Task11 example = new Task11(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task12."); //{ // Task12 example = new Task12(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task13."); //{ // Task13 example = new Task13(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task14."); //{ // Task14 example = new Task14(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task15."); //{ // Task15 example = new Task15(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task16."); //{ // Task16 example = new Task16(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task17."); //{ // Task17 example = new Task17(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task18."); //{ // Task18 example = new Task18(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task19."); //{ // Task19 example = new Task19(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task20."); //{ // Task20 example = new Task20(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task21."); //{ // Task21 example = new Task21(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task23."); //{ // Task23 example = new Task23(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task24."); //{ // Task24 example = new Task24(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task25."); //{ // Task25 example = new Task25(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task26."); //{ // Task26 example = new Task26(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task27."); //{ // Task27 example = new Task27(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); //CustomLogger.LogStartExample("Lecture 4. Task28."); //{ // Task28 example = new Task28(); // example.Run(); // Console.ReadLine(); //} //CustomLogger.LogEndExample(); { Task30 example = new Task30(); example.Run(); Console.ReadLine(); } }