# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
166034 | Akashi | Examination (JOI19_examination) | C++14 | 2619 ms | 372020 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;
struct grades{
int x, y, z;
bool operator < (const grades &aux)const{
if(z != aux.z) return z > aux.z;
if(x != aux.x) return x > aux.x;
return y > aux.y;
}
};
struct teacher{
int x, y, z, p;
bool operator < (const teacher &aux)const{
if(z != aux.z) return z > aux.z;
if(x != aux.x) return x > aux.x;
return y > aux.y;
}
};
grades a[100005];
teacher b[100005];
int ans[100005];
int n, q;
struct node{
int tip, val;
int left, right;
};
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... |