| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1298275 | the_commando_x | 선물상자 (IOI15_boxes) | C++17 | 1 ms | 572 KiB |
#include "boxes.h"
#include <bits/stdc++.h>
using namespace std;
using l = long long;
using vl = vector<l>;
long long delivery(int N, int K, int L, int p[])
{
l ans = 0;
if (K == 1)
for (int i = 0; i < L; ++i)
ans += 2 * min(p[i], N - p[i]);
return ans;
}
| # | 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... | ||||
