正文
增加 2 行删除 2 行
57 行未改动58596061626364656655 行未改动12212312412512612712812913036 行未改动57 行未改动#include <bits/stdc++.h>using namespace std;const int N = 5e5 + 5;const int mod = 1e9 + 7;#define pii pair<int, int>int read() {int f = 1, x = 0;char c = getchar();while (!isdigit(c)) f = (c == '-' ? -1 : 1), c = getchar();55 行未改动}bool query(int L, int R) {int x, y;split(head, L, x, y);bool flag = (minl[y] == L);head = merge(x, y);return flag;}} T;36 行未改动57 行未改动58596061626364656655 行未改动12212312412512612712812913036 行未改动57 行未改动#include <bits/stdc++.h>using namespace std;const int N = 5e5 + 5;const int mod = 1e9 + 7;#define pii pair<int,int>int read() {int f = 1, x = 0;char c = getchar();while (!isdigit(c)) f = (c == '-' ? -1 : 1), c = getchar();55 行未改动}bool query(int L, int R) {int x, y;split(head, L, x, y);bool flag = (minl[y] == L && maxr[y] == R);head = merge(x, y);return flag;}} T;36 行未改动