# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
120465 | perchem | Synchronization (JOI13_synchronization) | C++14 | 234 ms | 9848 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 <iostream>
#include <cstdint>
#include <random>
#include <utility>
#include <cassert>
class Node {
private:
static std::mt19937 rnd;
Node *l, *r, *par;
Node *pp;
uint32_t p;
bool lazy;
uint32_t size;
void push_lazy() {
if (lazy) {
if (l) {
l->reverse();
}
if (r) {
r->reverse();
}
lazy = false;
}
}
void push_lazy_root() {
if (par) {
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |