[UVA][遞迴] 12041 - BFS (Binary Fibonacci String)
Problem B - BFS (Binary Fibonacci String)
We are familiar with the Fibonacci sequence (1, 1, 2, 3, 5, 8, ...). What if
we define a similar sequence for strings? Sounds interesting? Let's see.
We define the follwing sequence:
BFS(0) = 0 BFS(1) = 1 (here "0" and...