Submission #1104644

#TimeUsernameProblemLanguageResultExecution timeMemory
1104644spycoderytGame (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]++ == u) || (v!=0&&freq[v]++ == v)); } /* /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...