# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
527710 | 4fecta | Examination (JOI19_examination) | C++17 | 1045 ms | 68312 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;
#define ll long long
#define int ll
#define ld long double
#define pii pair<int, int>
#define f first
#define s second
#define boost() cin.tie(0), cin.sync_with_stdio(0)
struct pt {
int x, y, z, t;
};
bool cmp(pt p, pt q) {
if (p.z == q.z) return p.t > q.t;
return p.z < q.z;
}
bool cmp1(pt p, pt q) {
if (p.x != q.x) return p.x < q.x;
return p.y < q.y;
}
const int MN = 200005;
int n, q, x, y, z, ans[MN], bit[MN];
vector<int> xs, ys, zs, upds;
map<int, int> mx, my, mz;
vector<pt> v;
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... |