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"
#define MAX_N 1500
void initialize(int n) {
}
int Check[MAX_N];
int hasEdge(int u, int v) {
int c = u > v ? u : v;
return ++Check[c] == c;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |