Submission #749458

#TimeUsernameProblemLanguageResultExecution timeMemory
749458Desh03Game (IOI14_game)C++17
100 / 100
274 ms16368 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; vector<int> c; int N; void initialize(int n) { N = n, c.resize(n); } int hasEdge(int u, int v) { return ++c[min(u, v)] == N - min(u, v) - 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...