# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
330486 | SnowFlake7 | Pinball (JOI14_pinball) | C++14 | 934 ms | 33628 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
const long long MX_VAL = 1e18;
long long a[100005],b[100005],c[100005],d[100005];
long long aint[2000005],dp1[100005],dp2[100005];
map <int, int> mp;
vector <int> v;
void update(int nod, int st, int dr, int poz, long long val) {
if (st == dr)
aint[nod] = min(aint[nod], val);
else {
int md = (st + dr) / 2;
if (poz <= md)
update(2 * nod, st, md, poz, val);
if (poz >= md + 1)
update (2 * nod + 1, md + 1, dr, poz, val);
aint[nod] = min(aint[2 * nod], aint[2 * nod + 1]);
}
}
long long query(int nod, int st, int dr, int a, int b) {
if (a <= st && dr <= b)
return aint[nod];
else {
int md = (st + dr) / 2;
long long ans = MX_VAL;
if (a <= md)
ans = min(ans, query(2 * nod, st, md, a, b));
컴파일 시 표준 에러 (stderr) 메시지
# | 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... |