Submission #716018

#TimeUsernameProblemLanguageResultExecution timeMemory
716018ovidiush11Game (IOI14_game)C++14
0 / 100
1 ms304 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; const int N = 1500 + 5; int a[N],n; void initialize(int x) { n = x; return ; } int hasEdge(int u, int v) { a[u]++; a[v]++; if(a[u] >= n-1 || a[v] >= n-1) { a[u] = n-1; a[v] = n-1; return 1; } else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...