题目链接:uva 10334 - Ray Through Glasses 题目大意:在2块玻璃中反射k次的光线条数。 解题思路:斐波那契数列。(大数) #include <stdio.h>#include <string.h>#include <iostream>using namespace std;const int N = 1005;struct bign
原题: Suppose we put two panes of glass back-to-back. How many ways a n are there for light rays to pass through or be reflected after changing direction n times? Following figure shows the situations