# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
383336 | peijar | Hedgehog Daniyar and Algorithms (IZhO19_sortbooks) | C++17 | 1351 ms | 93236 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define int long long
using namespace std;
struct Requete
{
int deb, fin, patience, iRequete;
bool operator<(Requete other) const
{
return patience < other.patience;
}
};
const int NB_FEUILLES = 1 << 20;
int seg[2 * NB_FEUILLES];
void init()
{
for (int i(0); i < 2 * NB_FEUILLES; ++i) seg[i]= -1;
}
void upd(int iPos, int val)
{
iPos += NB_FEUILLES;
seg[iPos] = val;
while (iPos > 1)
{
iPos /= 2;
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |