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;
int n,g[1501];
void initialize(int num) {
n=num;
for(int i=1;i<n;i++){
g[i]=i;
}
}
int hasEdge(int u, int v) {
g[max(u,v)]--;
if(g[max(u,v)])return 0;
else return 1;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |