Fibonacci Strings problem
Can anyone tell me how to solve this problem?
http://codeforces.me/contest/177/problem/G2
Thanks in advance!
Codeforces Round 1123 Solution Discussion