# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
615175 | SeDunion | Dungeons Game (IOI21_dungeons) | C++17 | 1160 ms | 892832 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 "dungeons.h"
#include <assert.h>
#include <vector>
using namespace std;
using ll = long long;
const ll inf = 1e18;
const int N = 50123;
const int LOGN = 18;
const int LOGK = 25;
int wh[LOGK][LOGN][N];
ll sf[LOGK][LOGN][N];
ll nd[LOGK][LOGN][N];
int s[N];
int p[N];
int w[N];
int l[N];
int n;
void init(int n_, vector<int>s_, vector<int>p_, vector<int>w_, vector<int>l_) {
n = n_;
s_.emplace_back(0), p_.emplace_back(0), w_.emplace_back(n), l_.emplace_back(n);
for (int i = 0 ; i <= n ; ++ i) {
s[i] = s_[i], p[i] = p_[i], w[i] = w_[i], l[i] = l_[i];
}
# | 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... |