Skip to content

Commit 0d6e0ee

Browse files
committed
[mypy] fix type annotations for project euler problem009/sol1
1 parent 63100de commit 0d6e0ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

project_euler/problem_009/sol1.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def solution() -> int:
3838
if (a + b + c) == 1000:
3939
return a * b * c
4040

41+
return -1
42+
4143

4244
def solution_fast() -> int:
4345
"""
@@ -58,6 +60,8 @@ def solution_fast() -> int:
5860
if a < b < c and (a ** 2) + (b ** 2) == (c ** 2):
5961
return a * b * c
6062

63+
return -1
64+
6165

6266
def benchmark() -> None:
6367
"""

0 commit comments

Comments
 (0)