# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
224516 | Nightlight | Solar Storm (NOI20_solarstorm) | C++14 | 984 ms | 243836 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define dist(a, b) (pos[a] - pos[b])
using namespace std;
long long N, K, S;
long long pos[1000005];
long long pre[1000005];
long long sh[1000005];
long long T[1000005][25];
vector<int> loc;
int lift(int u, int f) {
for(int i = 20; i >= 0; i--) {
if(f >= (1 << i)) {
f -= (1 << i);
u = T[u][i];
}
}
return u;
}
int main() {
// freopen("inp", "r", stdin);
scanf("%lld %lld %lld", &N, &S, &K);
for(int i = 2; i <= N; i++) {
scanf("%lld", &pos[i]);
pos[i] += pos[i - 1];
}
for(int i = 1; i <= N; i++) {
scanf("%lld", &pre[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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |