Submission #574419

#TimeUsernameProblemLanguageResultExecution timeMemory
574419talant117408Game (IOI14_game)C++17
0 / 100
1 ms212 KiB
#include "game.h" #include <bits/stdc++.h> #ifndef EVAL #include "grader.cpp" #endif using namespace std; int N; void initialize(int n) { N = n; } int c[1503]; int hasEdge(int u, int v) { if (u < v) swap(u, v); c[v]++; auto flag = (c[u] == N-2); c[u]++; return flag; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...