# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
201047 | a1_N | Bigger segments (IZhO19_segments) | C++17 | 189 ms | 69600 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 F first
#define S second
using namespace std;
const int N = (int)5e5 + 5;
const long long M = (long long)5e14;
int n,timer = 1,a[N];
pair<int,int> t[N * 4];
int L[N * 4],R[N * 4];
long long pref[N];
pair<int,long long> dp[N];
pair<int,int> ZeroPair = {0,0};
/*
struct tree{
tree *left,*right;
pair<int,int> mx;
tree(): left(NULL), right(NULL), mx(ZeroPair) {}
};
tree *root = new tree();
# | 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... |