Profile avatar

Project euler code. ;-/

  • Added by Joo | 1 points | 1 up votes | 0 down votes | 1 comments
_=[1,2],__=0,___=4000000
while(_[1]<=___){if(!(_[1]%2))__+=_[1];_[1]+=_[0];_[0]*=-1;_[0]+=_[1]}
console.log(__)

Code formatting: Javscript

Comments

You need to be logged in to comment, sign in here or create a new account

xuder 1 points about 1 year

test

0.004809