# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
609886 | juancarlovieri | Popeala (CEOI16_popeala) | C++17 | 2068 ms | 34936 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
int n, t, s;
int pts[20005];
ll pre[20005];
int nxt[55][20005];
int can[55][20005];
ll dp[20005][55];
struct Point {
int x, c;
int eval (int m) {
return m * x + c;
}
};
// int rek(int cur, int gr) {
// if (cur >= t) {
// if (gr != 0) return 1e12;
// // if (gr == s) return 1e12;
// return 0;
// }
// if (gr == 0) return 1e12;
// ll& res = dp[cur][gr];
// if (res != -1) return res;
# | 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... |