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

Daniel Mahu WA8 with formulas [1] // Problem 1133. Fibonacci Sequence 14 Oct 2016 13:58
I used the formulas with phi and solved a system of 2 equations to get the coefficients, in python using floats.

Any hint why I get WA8? all tests on the forum work.
Daniel Mahu Re: WA8 with formulas // Problem 1133. Fibonacci Sequence 15 Oct 2016 18:47
I eventually got AC by trying out several values around the integer the math formula gave and checking each against given initial values.