i'm still curious with sample input #4, n=5, k=0? how to get 22?
Search found 3 matches
Search found 3 matches • Page 1 of 1
- Sun Aug 15, 2004 8:02 am
- Forum: Volume 106 (10600-10699)
- Topic: 10689 - Yet another Number Sequence
- Replies: 22
- Views: 11625
i read your post, read about pisano period, and try to solve this problem, but always got WA. however i'm not sure is pisano period valid for all a and b (i mean f=a, f=b)? or just for a=0 & b=1?
thank you in advance.
Code: Select all