Submission #931952

#TimeUsernameProblemLanguageResultExecution timeMemory
931952skyvn97Boxes with souvenirs (IOI15_boxes)C++14
0 / 100
1 ms2396 KiB
#include "boxes.h" #include<bits/stdc++.h> using namespace std; #define MAX 10001000 int numTeam, maxCapa, numPos, pos[MAX]; int dp[MAX], ahihi[MAX]; long long result; void solve(void) { result = 0; for (int i = 0; i < numTeam; i++) result += pos[i]; } long long delivery(int NN, int KK, int LL, int positions[]) { // doc du lieu numTeam = NN; maxCapa = KK; numPos = LL; for (int i = 0; i < numTeam; i++) pos[i] = positions[i]; solve(); return result; }
#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...