首页 > The GCD of Fibonacci Numbers
头像 yu__xuan
发表于 2020-01-15 16:21:42
题目 The GCD of Fibonacci Numbers 思路 重要性质:,当中 表示斐波那契数列的第 项。 题目中保证了 直接递推求就可以了。 #include<iostream> #include<string> #include<cstring> 展开全文
头像 Dream_coding
发表于 2020-01-12 15:40:57
#include<bits/stdc++.h> using namespace std; typedef long long LL; int t; LL n,m,a[50]; int main() {     a[0]=0,a[1]=1,a[2]=1;   展开全文

等你来战

查看全部