# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1094177 | vladilius | Worst Reporter 4 (JOI21_worst_reporter4) | C++17 | 618 ms | 524288 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>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
#define pb push_back
#define ff first
#define ss second
#define arr3 array<ll, 3>
const ll inf = 1e15;
const int N = 2e5;
struct DS{
struct node{
node *l, *r;
ll x;
int s;
node(){
l = r = 0;
x = s = 0;
}
};
vector<pair<int, ll>> vv;
node *rt;
void init(){
rt = new node();
}
int size(){
return rt -> s;
}
void fn(node *v, int tl, int tr){
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... |