# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
541809 | zxcvbnm | K개의 묶음 (IZhO14_blocks) | C++14 | 842 ms | 6192 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr int nax = 1e5 + 5;
constexpr int kax = 105;
constexpr ll INF = 1e12 + 5;
#define int ll
struct St {
int n;
vector<int> tree;
void build(const vector<int>& vec, bool naujas=false) {
if (naujas) {
n = 1;
while(n < (int) vec.size()) {
n *= 2;
}
tree.assign(2*n, 0LL);
}
build_r(vec, 0, 0, n);
}
void build_r(const vector<int>& vec, int idx, int l, int r) {
if (r - l == 1) {
if (l < vec.size()) {
tree[idx] = vec[l];
컴파일 시 표준 에러 (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... |