From bba123e46255165df7df781488e9d5414b640012 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Fri, 4 Sep 2020 18:15:39 -0400 Subject: [PATCH] Updated problem 23 results --- ProjectEulerCS/Benchmark.cs | 2 +- ProjectEulerCS/Problems/Problem23.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectEulerCS/Benchmark.cs b/ProjectEulerCS/Benchmark.cs index 155e5dc..e0a7960 100644 --- a/ProjectEulerCS/Benchmark.cs +++ b/ProjectEulerCS/Benchmark.cs @@ -28,7 +28,7 @@ namespace ProjectEulerCS{ public class Benchmark{ private enum BenchmarkOptions { RunSpecific = 1, RunAllShort, RunAll, Exit, Size }; private static readonly List tooLong = new List() - {5, 15, 24}; + {5, 15, 23, 24}; //The driver function for the benchmark selection public static void BenchmarkMenu(){ diff --git a/ProjectEulerCS/Problems/Problem23.cs b/ProjectEulerCS/Problems/Problem23.cs index 392791f..5852fce 100644 --- a/ProjectEulerCS/Problems/Problem23.cs +++ b/ProjectEulerCS/Problems/Problem23.cs @@ -137,6 +137,6 @@ namespace ProjectEulerCS.Problems{ } /* Results: -The answer is 395424405 -It took an average of 49.876 milliseconds to run this problem through 100 iterations +The answer is 4179871 +It took an average of 11.420 seconds to run this problem through 100 iterations */ \ No newline at end of file