fork download
  1. x = 1
  2. y = a = 2
  3. while true
  4. z = x + y
  5. x = y
  6. y = z
  7. if z > 4000000
  8. p a
  9. break
  10. end
  11. a += z if z % 2 == 0
  12. end
Success #stdin #stdout 0.02s 7408KB
stdin
Standard input is empty
stdout
4613732