fork(1) download
  1. def f(n):
  2. return int((20130000*n-2013.5)/20129999)
  3.  
  4. n=1
  5. p=f(n)
  6. s=f(n+1)
  7.  
  8. while s==p+1:
  9. p=s
  10. n+=1
  11. s=f(n+1)
  12.  
  13. print(n)
Success #stdin #stdout 0.02s 5760KB
stdin
Standard input is empty
stdout
2013