| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1331211 | michael12 | Boxes with souvenirs (IOI15_boxes) | C++20 | 0 ms | 0 KiB |
#include "boxes.h"
#include<bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define endl '\n'
#define int long long
using namespace std;
const int maxn = 1e6 + 5;
const int inf = 1e9 + 5;
int delivery(int N, int K, int L, int p[]){
int cur = 0;
for(int i = 0; i < N; i++){
cur += 2 * p[i];
}
return cur;
}