# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
862153 | vgtcross | Measures (CEOI22_measures) | C++17 | 243 ms | 42292 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
struct segtree {
ll minv, maxv, maxd;
ll cnt;
int l, r, m;
ll lazy;
segtree *lc = nullptr, *rc = nullptr;
segtree(int L, int R) {
l = L;
r = R;
m = (l + r) / 2;
minv = 1e18;
maxv = -1e18;
maxd = -1e18;
cnt = 0;
lazy = 0;
if (l == r) return;
lc = new segtree(l, m);
rc = new segtree(m+1, r);
}
void push() {
lc->lazy += lazy;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |