mirror of
https://bitbucket.org/Mattrixwv/projecteulerts.git
synced 2025-12-06 17:43:59 -05:00
Added solution to problem 15
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user