# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
634377 | dooompy | Event Hopping (BOI22_events) | C++17 | 423 ms | 14896 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
int s[100005], e[100005];
vector<int> comp;
pair<int, int> tree[4 * 100005];
void update(int x, int l, int r, int loc, pair<int, int> stuff) {
if (l == r) {
tree[x] = min(tree[x], stuff);
return;
}
int mid = (l + r) / 2;
if (loc <= mid) update(2 * x, l, mid, loc, stuff);
else update(2 * x + 1, mid + 1, r, loc, stuff);
tree[x] = min(tree[2 * x], tree[2 * x + 1]);
}
int convert(int x) {
return lower_bound(comp.begin(), comp.end(), x) - comp.begin() + 1;
}
int prevjmp[100005][20];
# | 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... |