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 initialize(int n) {
int x=2;
for(int i=0;i<n;++i) if(x!=i) adj[i][x]=adj[x][1]=1;
}
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... |