# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
470849 | cookiemonster04 | Cloud Computing (CEOI18_clo) | C++17 | 488 ms | 1988 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
#define LL long long
#define pb push_back
#define NINF -1000000000000000LL;
/* Date: 9/5/21
* Link: https://oj.uz/problem/view/CEOI18_clo
* Verdict: WA (72/100), AC
*/
struct Option {
int c, f, v;
Option(int _c, int _f, int _v) {
c = _c; f = _f; v = _v;
}
inline bool operator<(const Option& o) {
if (f != o.f) {
return f > o.f;
}
return v < o.v;
}
};
vector<Option> options;
LL dp[2][100005];
int N, M;
int main() {
ios::sync_with_stdio(0);
for (int i = 0; i < 100005; i++) {
dp[0][i] = NINF;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |