# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
102344 | naoai | 최후의 만찬 (IOI12_supper) | C++14 | 119 ms | 9432 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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... |