| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 808930 | jakobrs | 웜뱃 (IOI13_wombats) | C++17 | 61 ms | 8148 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <algorithm>
#include <numeric>
#include <vector>
#include "wombats.h"
#define entire(a) std::begin(a), std::end(a)
std::vector<int> h;
int distance;
void init(int R, int C, int H[5000][200], int V[5000][200]) {
h.reserve(R);
for (int i = 0; i < R; i++) {
h.push_back(V[i][0]);
}
distance = std::accumulate(entire(h), 0);
}
void changeH(int P, int Q, int W) {
// ...
}
void changeV(int P, int Q, int W) {
distance += W - h[P];
h[P] = W;
}
int escape(int V1, int V2) {
return distance;
}컴파일 시 표준 에러 (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... | ||||
