Add documentation to 75.\nAdd solutions to 75 and 76.\nAdd templates till problem 85.
This commit is contained in:
@@ -14,8 +14,10 @@ def possible_sums(n, n_orig, d):
|
||||
return possible_sums(n - d, n_orig, d) + possible_sums(n, n_orig, d + 1)
|
||||
|
||||
|
||||
def euler_067():
|
||||
def euler_076():
|
||||
return possible_sums(100, 100, 1)
|
||||
|
||||
|
||||
print(euler_067())
|
||||
if __name__ == "__main__":
|
||||
print("e076.py: " + str(euler_076()))
|
||||
assert(euler_076() == 190569291)
|
||||
|
||||
Reference in New Issue
Block a user