Submission #1104636

#TimeUsernameProblemLanguageResultExecution timeMemory
1104636spycoderytGame (IOI14_game)C++17
0 / 100
1 ms2384 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; const int N = 3e5+5; int freq[N]; int n; void initialize(int nn) { n = nn; } int hasEdge(int u, int v) { return (++freq[u] == n-1 || ++freq[v] == n-1); } /* /usr/bin/g++ -o game grader.cpp game.cpp ./game */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...