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

Pascal or C/C++ (extended && double)
Posted by St.Max [UPML KNU] 19 Mar 2007 18:43
I work using C++.
But on this problem I saw that for my algorithm it is not enough double and long double. And only pascal's extended gave me this AC.
Re: Pascal or C/C++ (extended && double)
Posted by partisan (Andrey Korotkov) 10 Jan 2008 19:03
That's because double has about 340 in exponent, and long double not in all compilers have 12 bytes, sometimes long double=double