Submission #888570

#TimeUsernameProblemLanguageResultExecution timeMemory
888570GabrielGame (IOI14_game)C++17
15 / 100
1 ms604 KiB
#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) return 1; else { No_dar++; return 0; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...