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 <iostream>
long long int n;
using namespace std;
void initialize(int N) {
n=N;
}
long long int tag[1505];
int hasEdge(int u, int v) {
int tmp=max(u,v);
if(tag[tmp]+1>=tmp)
{
return 1;
}
else
{
tag[tmp]++;
return 0;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |