Submission #64879

#TimeUsernameProblemLanguageResultExecution timeMemory
64879MatheusLealV게임 (IOI14_game)C++17
0 / 100
2 ms672 KiB
#include "game.h" #include <bits/stdc++.h> #define N 2000 using namespace std; int resta[N]; void initialize(int n) { for(int i = 0; i <= n; i++) resta[i] = n - 1; } int hasEdge(int u, int v) { if(resta[u] == 1 or resta[v] == 1) return 1; resta[u] --, resta[v] --; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...