Submission #1036914

#TimeUsernameProblemLanguageResultExecution timeMemory
1036914vaneaGame (IOI14_game)C++14
0 / 100
1 ms604 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; using ll = long long; const int mxN = 2e3+10; int cnt[mxN], N; int hasEdge(int u, int v) { ++cnt[u]; ++cnt[v]; if(cnt[u] == N-1 || cnt[v] == N-1) return 1; return 0; } void initialize(int n) { N = n; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...