Submission #1216895

#TimeUsernameProblemLanguageResultExecution timeMemory
1216895takoshanavaBoxes with souvenirs (IOI15_boxes)C++20
0 / 100
0 ms324 KiB
#include <bits/stdc++.h> #include "boxes.h" #define pb push_back #define fs first #define sc second using namespace std; long long delivery(int n, int k, int l, int x[]){ long long ans = 0; for(int i = 0; i < n; i++){ ans += min(l - x[i], x[i]); } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...