Submission #49347

#TimeUsernameProblemLanguageResultExecution timeMemory
49347dooweyGame (IOI14_game)C++14
100 / 100
495 ms151700 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; void initialize(int n) { } const int N = 1509; int cnt[N]; int hasEdge(int u, int v) { if(u > v) swap(u,v); cnt[v]++; if(cnt[v] == v){ return 1; } else{ return 0; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...