Commit 717f6483 by BellCodeEditor

auto save

parent 23826840
Showing with 10 additions and 3 deletions
import time
begin = time.time()
for a in range(0,1001):
for b in range(0,1001):
for c in range(0,1001):
if a**2+b**2==c**2 and a+b+c==1000:
print(a,b,c)
result = time.time()
print(result)
\ No newline at end of file
print(result-begin)
#10亿次
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment