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,4),add(4,2),add(2,3);
}
int hasEdge(int u, int v) {
return adj[u][v];
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |