# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1078632 | vjudge1 | Plahte (COCI17_plahte) | C++17 | 281 ms | 51812 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;
const int N = 4e5 + 17;
int n, m, sz, b[N];
int st[4 * N], lz[4 * N];
int pre[N], ans[N];
vector <int> adj[N];
map <int, bool> c[N];
struct rect
{
int x, l, r, t, id;
} a[N];
bool cmp (rect x, rect y)
{
if (x.x != y.x)
{
return x.x < y.x;
}
return x.t > y.t;
}
void build (int id, int l, int r)
{
lz[id] = -1;
if (l == r)
{
return;
}
int mid = l + r >> 1;
build (id * 2, l, mid);
build (id * 2 + 1, mid + 1, r);
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |