| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1337181 | aritro_ | 나일강 (IOI24_nile) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define pb push_back
#define ff first
#define ss second
#define all(a) a.begin(),a.end()
vector<ll> calclate_costs(vector<int>w,vector<int>a,vector<int>b,vector<int>e){
int n=a.size();
int cost=0;
for(int i=0;i<n;i++) cost+=b[i];
vector<ll> ans(e.size());
for(int i=0;i<e.size();i++) ans[i]=cost;
return ans;
}
