版本比较
题解:P14764 [Opoi 2025] CCD 的不难题
正文
增加 4 行删除 4 行
45 行未改动4647484950515253545512 行未改动68697071727374757615 行未改动9293949596979899100143 行未改动全部展开45 行未改动*oh++=buf[top--]+'0';}}const int N=50055;const int B=120;const int M=450;const int S=60;const int V=320;const int VN=200;struct Bitset{12 行未改动int bl[N],L[M],R[M];int tmp[N],vis[N],dirty[N],dc;int h_val[N], h_cnt;int h_map[N];unsigned short h_pre[N][850];int d_head[VN];int cur[N];unsigned short vb_c[S+1][VN];Bitset cur_m[S+1];15 行未改动}}for(int i=1;i<=n;i++){int v = a[i];int hid = h_map[v];for(int j=1;j<=h_cnt;j++){h_pre[i][j] = h_pre[i-1][j] + (j == hid);}}143 行未改动全部展开45 行未改动4647484950515253545512 行未改动68697071727374757615 行未改动9293949596979899100143 行未改动全部展开45 行未改动*oh++=buf[top--]+'0';}}const int N=50055;const int B=120;const int M=450;const int S=60;const int V=320;const int VN=200;struct Bitset{12 行未改动int bl[N],L[M],R[M];int tmp[N],vis[N],dirty[N],dc;int h_val[N], h_cnt;int h_map[N];unsigned short h_pre[N][850];int d_head[VN];int cur[N];unsigned short vb_c[S+1][VN];Bitset cur_m[S+1];15 行未改动}}for(int i=1;i<=n;i++){int v = a[i];int hid = h_map[v];for(int j=1;j<=h_cnt;j++){h_pre[i][j] = h_pre[i-1][j] + (j == hid);}}143 行未改动全部展开