#include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)
#define endl '\n'
#define lowbit(x) ((x)&-(x))
typedef long long ll;
const int mod = 1e9 + 7;
const int N = 4e5 + 10;
struct Node{
int mx;
ll num;
friend Node operator+(Node a, Node b){
Node c = {
0,0 };
c.mx = max(a.mx
最长上升子序列计数
最新推荐文章于 2024-08-05 15:58:50 发布