# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1035286 | lovrot | Werewolf (IOI18_werewolf) | C++17 | 575 ms | 129188 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 "werewolf.h"
#include <cstdio>
#include <algorithm>
#include <vector>
#include <cstring>
#define X first
#define Y second
#define PB push_back
using namespace std;
typedef pair<int, int> pii;
typedef vector<int> vi;
const int LOG = 19;
const int N = 1 << LOG;
struct quest {
int l, r, a, b;
quest() {}
quest(int l, int r, int a, int b) : l(l), r(r), a(a), b(b) {}
};
quest q[N];
vector<int> g[N], h[N];
int un[N], iv[N], ma[N];
int trazi(int u) {
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... |