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"
using namespace std;
int N;
vector<int> Informaci_n_dada;
void initialize(int n) {
N = n;
Informaci_n_dada.assign(n, 0);
}
int No_dar = 0;
int hasEdge(int u, int v) {
Informaci_n_dada[u]++;
Informaci_n_dada[v]++;
if(No_dar == 3) return 1;
if(Informaci_n_dada[u] == 3 or Informaci_n_dada[v] == 3){
No_dar++;
return 1;
} else 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... |