Submission #1104645

#TimeUsernameProblemLanguageResultExecution timeMemory
1104645spycoderytGame (IOI14_game)C++17
0 / 100
1 ms2552 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...