# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
440359 | two_sides | Dungeons Game (IOI21_dungeons) | C++17 | 5127 ms | 561732 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;
namespace {
template <class X, class Y>
bool cmin(X &a, const Y &b) {
return a > b ? a = b, 1 : 0;
}
const int MAXN = 400005;
const long long INF = 1e9;
struct path {
int dest;
long long mini, suma;
};
long long str[MAXN], bns[MAXN];
int win[MAXN], lose[MAXN], N;
path jump[MAXN][3][19];
long long tail[MAXN];
}
void init(int n, vector<int> s, vector<int> p,
vector<int> w, vector<int> l) {
copy(s.begin(), s.end(), str);
copy(p.begin(), p.end(), bns);
copy(w.begin(), w.end(), win);
copy(l.begin(), l.end(), lose);
# | 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... |