# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
439950 | dacin21 | Dungeons Game (IOI21_dungeons) | C++17 | 7075 ms | 137284 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.
#pragma GCC optimize("O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx") // codeforces
#include "dungeons.h"
#include <bits/stdc++.h>
using namespace std;
using ll = int64_t;
const int BLOCK = 10000;
const int MAX_SKILL = 1.01e7;
const int U = 16;
const int inf = 1e9;
int n;
struct Link{
int to;
int gain;
};
struct Node{
Link win, loss;
int thresh;
};
struct Jump{
int to;
int max_valid;
ll gain;
};
vector<ll> win_gain;
vector<Node> g;
Compilation message (stderr)
# | 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... |