Updated problems to be more in line with conventions

This commit is contained in:
2020-06-19 19:58:36 -04:00
parent 1bfd097fa3
commit 7d107c1071
31 changed files with 174 additions and 182 deletions

View File

@@ -1,12 +1,12 @@
--ProjectEuler/lua/Problem25.lua
--Matthew Ellison
-- Created: 03-26-19
--Modified: 03-28-19
--Modified: 06-19-20
--What is the index of the first term in the Fibonacci sequence to contain 1000 digits?
--All of my requires, unless otherwise listed, can be found at https://bitbucket.org/Mattrixwv/luaClasses
--I used the bigint library from https://github.com/empyreuma/bigint.lua
--[[
Copyright (C) 2019 Matthew Ellison
Copyright (C) 2020 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
@@ -28,7 +28,7 @@ require "Algorithms";
local bigint = require "bigint";
NUM_DIGITS = 1000; --The number of digits to calculate up to
local NUM_DIGITS = 1000; --The number of digits to calculate up to
--Setup the variables