COOK40 AMIFIB Weak Test Cases !

amifib
cook-off
weak-test-case

#1

I found this code and i can not understand how this code is working.

Its giving WA for this testcase

1

10256117644121029666

This number is not a Fibonacci Number but this code is showing YES for this.


#2

You can post your queries under editorials : http://discuss.codechef.com/questions/29674/cook40-amifib-weak-test-cases


#3

In my opinion this solution will only work for numbers less than range of ULL. I am also confused how this can get AC. This would mean the test data had no input greater 1E19.


#4

Wrong Link. http://discuss.codechef.com/questions/29654/amifib-editorials