Submission #991945

#TimeUsernameProblemLanguageResultExecution timeMemory
991945UnforgettableplJob Scheduling (IOI19_job)C++17
5 / 100
45 ms8404 KiB
#include <bits/stdc++.h> using namespace std; // #define int long long long long scheduling_cost(std::vector<int> p, std::vector<int> u, std::vector<int> d) { int n = p.size(); long long ans = 0; long long currtime = 0; for(int b=0;b<n;b++){ currtime+=d[b]; ans+=currtime*u[b]; } 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...