Skip to content

Commit c902c36

Browse files
KumarUniverseKumarUniverse
KumarUniverse
authored and
KumarUniverse
committed
Fixed default parameter value for solution
1 parent a078c48 commit c902c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_301/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def x(n: int, n2: int, n3: int) -> int:
5555
return n ^ n2 ^ n3
5656

5757

58-
def solution(n: int = 2 ** 10) -> int:
58+
def solution(n: int = 2 ** 30) -> int:
5959
"""
6060
For a given integer n <= 2^30, returns how many Nim games are lost.
6161
>>> solution(2)

0 commit comments

Comments
 (0)