Skip to content

Instantly share code, notes, and snippets.

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