ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1133. Fibonacci Sequence

WA 10, WA 11 ( if you use a MSVC 2010 )
Posted by Andrew Sboev [USU] 18 Mar 2013 19:24
If you precalc real fibonacci numbers from 0 to 2000, double will not be enough - enough will be long double.
Keep in mind that in MSVC double and long double are equal, but in GCC they are different; so, if you select at Timus as a compiler a GCC++, everything will be AC :)