hi,
i'm still curious with sample input #4, n=5, k=0? how to get 22?
thanks.
-natalya-
Search found 3 matches
- Fri Aug 27, 2004 3:36 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10688 - The Poor Giant
- Replies: 27
- Views: 17274
- Mon Aug 16, 2004 5:40 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10689 - Yet another Number Sequence
- Replies: 22
- Views: 12108
- Sun Aug 15, 2004 8:02 am
- Forum: Volume 106 (10600-10699)
- Topic: 10689 - Yet another Number Sequence
- Replies: 22
- Views: 12108
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[0]=a, f[1]=b)? or just for a=0 & b=1?
thank you in advance.
-natalya-
Code: Select all
--cut---
-natalya-