| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1199007 | TroySer | Boxes with souvenirs (IOI15_boxes) | C++20 | 0 ms | 328 KiB |
#include "boxes.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll delivery(int N, int K, int L, int p[]) {
ll farthestClockwise = p[N - 1] + min(L - p[N - 1], p[N - 1]);
ll farthestAClockwise = L - p[0] + min(p[0], L - p[0]);
ll minRes = min(farthestAClockwise, farthestClockwise);
return minRes;
}
| # | 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... | ||||
