![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
weixin_45476788
这个作者很懒,什么都没留下…
展开
-
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 · 303 阅读 · 0 评论 -
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 · 166 阅读 · 0 评论