We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3168a99 commit 61abd36Copy full SHA for 61abd36
1 file changed
project_euler/problem_014/sol1.rb
@@ -16,7 +16,7 @@
16
17
#Which starting number, under one million, produces the longest chain?
18
19
-def solution?()
+def solution()
20
index_best_result = 0
21
for num in 2..1000000
22
index_candidate = 0
@@ -37,6 +37,6 @@ def solution?()
37
result = value
38
end
39
40
-answer = solution?()
+answer = solution()
41
p answer
42
0 commit comments