n元上升子序列的个数
#include <bits/stdc++.h>
using namespace std;
using ll = long long ;
int f[30010][4],a[30010],b[30010];
int t[60010];
int n,m;
void add(int x,int y){
while(x<=m){
t[x]+=y;
x+=x&-x;
}
}
int ask(int x){
int ans=0;
原创
2021-08-13 02:00:26 ·
200 阅读 ·
0 评论