# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
535483 | EJam | Collecting Stamps 3 (JOI20_ho_t3) | C++17 | 199 ms | 135316 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;
using ll = long long;
using vll = vector<ll>;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<ll>>;
const int N = 205;
const ll INF = 1e18;
ll dp[N][N][N][2];
void tkmin(ll &a, ll b) { a = min(a, b); }
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
for (int k = 0; k < N; k++) {
dp[i][j][k][0] = INF;
dp[i][j][k][1] = INF;
}
}
}
int n, l; cin >> n >> l;
vll v(n);
vll t(n);
for (auto &it: v) cin>>it;
# | 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... |