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