# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
398493 | nikatamliani | 3단 점프 (JOI19_jumps) | C++14 | 1916 ms | 103976 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "bits/stdc++.h"
#define ll long long
using namespace std;
template <typename T, typename Lambda>
struct segment_tree {
vector<T> tree;
T neutral;
Lambda join;
int size, real_size;
segment_tree() {}
template <typename L>
segment_tree(int _size, const T &_neutral, const L& f)
: join (f) {
real_size = _size;
size = nxt(_size);
tree = vector<T>(2*size+1);
neutral = _neutral;
}
int nxt(int x) {
int i = 1;
while(i < x) {
i <<= 1;
}
return i;
}
void init(const vector<T> &v) {
for(int i = 0; i < real_size; ++i) {
tree[i + size] = v[i];
컴파일 시 표준 에러 (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... |