fork download
  1. i = 0
  2. x = 1
  3. y = 2
  4. a = 0
  5.  
  6.  
  7. while y < 4000000:
  8. a = x + y
  9. if a % 2 == 0:
  10. i = i + a
  11. print i
  12. x = y
  13. y = a
  14. a = 0
Runtime error #stdin #stdout 0.15s 10328KB
stdin
Standard input is empty
stdout
Standard output is empty