a = 100*101*201 // 6
b = ((1 + 100) * 100 // 2) ** 2
print(b - a)
Created
February 7, 2015 13:44
-
-
Save amoshyc/d31da0cb9bd0211e82dc to your computer and use it in GitHub Desktop.
Project Euler #6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment