Added solution to problem 15

This commit is contained in:
2021-03-29 11:26:47 -04:00
parent f9522b13d6
commit 4a0f9b3fe0
3 changed files with 114 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
//ProjectEulerTS/Benchmark.ts
//Matthew Ellison
// Created: 10-18-20
//Modified: 10-18-20
//Modified: 03-29-21
//This runs the benchmark functions for the Java version of the ProjectEuler project
//readline-sync is used to get input from the user in a procedural maner and can be installed with "npm install -g readline-sync"
/*
Copyright (C) 2020 Matthew Ellison
Copyright (C) 2021 Matthew Ellison
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -32,7 +32,7 @@ enum BenchmarkOptions{runSpecific = 1, runAllShort, runAll, exit, size};
export class Benchmark{
private static tooLong: number[] = [];
private static tooLong: number[] = [14, 15];
//The driver function for the benchmark selection
public static benchmarkMenu(): void{
let selection: BenchmarkOptions = BenchmarkOptions.size;