摘要:
很重要的算法,蓝桥杯遇到n次了 #include<bits/stdc++.h> #define int long long using namespace std; int n,m; int a[1000010],c[1000010],b[1000010]; int lowbit(int x) { 阅读全文
摘要:
//康托,康托逆 #include<bits/stdc++.h> #define int long long using namespace std; int n,k; int a[10010],f[10010]; void jiecheng(int n) { f[0]=f[1]=1; for(in 阅读全文