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>
template<typename T>
int len(T &a){
return a.size();
}
using namespace std;
vector<int> cnt;
void initialize(int n){
cnt.resize(n);
}
int hasEdge(int u, int v){
if(u < v) swap(u, v);
cnt[u] ++;
return cnt[u] == u;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |