# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
987629 | kim | Game (IOI13_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>
using namespace std;
bool adj[1505][1505];
void add(int u,int v){
adj[u][v]=adj[v][u]=1;
}
void initialize(int n) {
add(1,2),add(2,4),add(3,4);
}
int hasEdge(int u, int v) {
return adj[u][v];
}