摘要: Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, because she 阅读全文
posted @ 2017-03-06 20:35 Wally的博客 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Problem Description M斐波那契数列F[n]是一种整数数列,它的定义如下:F[0] = aF[1] = bF[n] = F[n-1] * F[n-2] ( n > 1 )现在给出a, b, n,你能求出F[n]的值吗? Input 输入包含多组测试数据;每组数据占一行,包含3个整数 阅读全文
posted @ 2017-03-06 20:22 Wally的博客 阅读(182) 评论(0) 推荐(0) 编辑