# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1043570 | deera | Game (IOI14_game) | C++14 | 880 ms | 71372 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 "game.h"
#include <bits/stdc++.h>
using namespace std;
vector<set<int>> asked;
void initialize(int n) {
vector<set<int>> v(n, set<int>());
asked = v;
}
int hasEdge(int u, int v) {
if (u > v) swap(u, v);
asked[v].insert(u);
return asked[v].size() == v;
}
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... |