# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
588759 | jack715 | Rabbit Carrot (LMIO19_triusis) | C++14 | 177 ms | 18452 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define pp pop_back
#define mp make_pair
#define bb back
#define ff first
#define ss second
#define int long long
using namespace std;
int n, m;
vector<int> nums, segtree, srt;
void update(int indx, int st, int end, int v, int val) {
if (st == end) {
segtree[indx] = val;
return;
}
int mid = (st + end) / 2;
if (v <= mid)
update(indx*2, st, mid, v, val);
else
update(indx*2+1, mid+1, end, v, val);
segtree[indx] = min(segtree[indx*2], segtree[indx*2+1]);
}
int query(int indx, int st, int end, int v) {
// cout << indx << ' ' << st << ' ' << end << '\n';
# | 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... |