Submission #1104646

#TimeUsernameProblemLanguageResultExecution timeMemory
1104646spycoderytGame (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 ((u!=0&&++freq[u] == n-1) || (v!=0&&++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...