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<bits/stdc++.h>
using namespace std;
int freq[2000] ={0};
int N;
int hasEdge(int u,int v){
freq[max(u,v)]++;
return freq[max(u,v)] == max(u,v);
}
void initialize(int n){
N = 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... |