# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
802986 | thimote75 | Worst Reporter 4 (JOI21_worst_reporter4) | C++14 | 7 ms | 2036 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define int long long
using namespace std;
using Point = pair<int, int>;
using idata = vector<int>;
struct Node {
int pos, delta, rng;
int ssize = 1;
int sdelt = 0;
Node* left; Node* right;
void compute () {
ssize = 1;
sdelt = delta;
if (left != nullptr) {
ssize += left->ssize;
sdelt += left->sdelt;
}
if (right != nullptr) {
ssize += right->ssize;
sdelt += right->sdelt;
}
}
};
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |