# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
49348 | MoNsTeR_CuBe | Game (IOI14_game) | C++17 | 0 ms | 0 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>
vector<int> ans(0);
void initialize(int n) {
ans.resize(n);
ans[0] = 1;
ans[1] = 0;
ans[2] = 0;
ans[3] = 0;
ans[4] = 1;
ans[5] = 1;
}
int counter = 0;
int hasEdge(int u, int v) {
counter++;
return ans[counter-1];
}