mirror of
https://bitbucket.org/Mattrixwv/projecteulerpython.git
synced 2025-12-06 17:43:58 -05:00
Updated run times and a few typos
This commit is contained in:
@@ -84,7 +84,7 @@ class Problem9(Problem):
|
||||
self.a = 1
|
||||
self.b = 0
|
||||
self.c = 0
|
||||
found = False
|
||||
self.found = False
|
||||
|
||||
#Gets
|
||||
#Returns the length of the first side
|
||||
@@ -124,5 +124,5 @@ if __name__ == "__main__":
|
||||
"""Results:
|
||||
The Pythagorean triplet where a + b + c = 1000 is 200 375 425
|
||||
The product of those numbers is 31875000
|
||||
It took 22.106 milliseconds to run this algorithm
|
||||
It took an average of 36.729 milliseconds to run this problem through 100 iterations
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user