摘要:
#include #define MAXN 100int a[MAXN];int f(int m, int k){ int i,j; for(i = m; i >= k; i--) { a[k] = i; if(k > 1) f(i-1... 阅读全文
摘要:
#include #include #define N 100010int a[N]; //存放数字t出现的次数int main(){ int m,n,i,t,p,ans; scanf("%d",&m); while(m--) { ans=0; ... 阅读全文