2016沈阳C - Recursive sequence
Sample Input
2
3 1 2
4 1 10
Sample Output
85
369
Hint
In the first case, the third number is 85 = 21十2十3^4.
In the second case, the third number is 93 = 21十1*10十3^4 and the fourth number is 369 = ...
原创
2019-10-11 13:40:14 ·
209 阅读 ·
0 评论