mirror of
https://bitbucket.org/Mattrixwv/projecteulerlua.git
synced 2025-12-06 17:43:57 -05:00
Updated problems to be more in line with conventions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user