# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
102344 | naoai | Last supper (IOI12_supper) | C++14 | 119 ms | 9432 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 "advisor.h"
#include <bits/stdc++.h>
using namespace std;
const int nmax = 1e5;
static int viz[nmax + 1], urm[nmax + 1];
int lst[nmax + 1];
bool adv[2 * nmax + 1];
struct str {
int x, ind, u;
str () {}
str (int _x, int _ind, int _u) {
x = _x, ind = _ind, u = _u;
}
bool operator < (const str &shp) const {
if (u != shp.u) return u < shp.u;
return x > shp.x;
}
};
priority_queue<str> h;
void ComputeAdvice(int *v, int N, int K, int M) {
for (int i = 0; i < N; ++ i)
lst[i] = 1 << 30;
# | 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... |