제출 #888568

#제출 시각아이디문제언어결과실행 시간메모리
888568Gabriel게임 (IOI14_game)C++17
0 / 100
1 ms348 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){ No_dar++; return 1; } else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...