- 博客(3)
- 收藏
- 关注
原创 1333
#include <iostream>#include <algorithm>using namespace std;int const N = 1000100;long long q[N];int a,n;void work(int a,int n){ int rear = 2; q[1] = a; int two= 1,three = 1; whil...
2019-07-31 18:11:33 172
原创 1202
#include<iostream>using namespace std;int a[1000100];int main(){ int n,x,i; a[1]=1; a[2]=2; for(i=3;i<=1000000;i++) a[i]=((2*a[i-1])+a[i-2]) % 32767; cin>&g...
2019-07-31 18:06:41 202
原创 1199
#include<iostream>using namespace std;int n,x;int f(int a,int b){ if(a==1)return 1; if(b==1)return 0; if(a%b==0)return f(a/b,b)+f(a,b-1); return f(a,b-1);}int main(){ ci...
2019-07-31 18:05:29 313
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人