版本比较
P3863 序列
正文
增加 5 行删除 5 行
26 行未改动2728293031313233343544 行未改动808182838485848586878889909190919293949587 行未改动26 行未改动// URL: https://www.luogu.com.cn/problem/P3863// Memory Limit: 500 MB// Time Limit: 2000 ms// The Author : Pitiless0514// //// Powered by CP Editor (https://cpeditor.org)
#include <bits/stdc++.h>#define int long long44 行未改动using IO::read;using IO::write;const int N = 2e6;int n, siz = 360, bel, q, num, cnt, ans[N], a[N], pos[N], LL[N], RR[N], s[N], t[N], tag[N];struct update { int x, tim, val; struct update { int x, tim, val; update(int xx = 0,int yy = 0,int zz = 0) { x = xx, tim = yy, val = zz; }}q1[N];struct ask { int x, tim, val, id; struct ask { int x, tim, val, id; ask(int xx = 0,int yy = 0,int zz = 0,int uu = 0) { x = xx, tim = yy, val = zz, id = uu; }}q2[N];87 行未改动