Submission #1104689

#TimeUsernameProblemLanguageResultExecution timeMemory
1104689TotoGame (IOI14_game)C++14
0 / 100
1 ms508 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; int a[1501],n,g[1501]; void initialize(int num) { n=num; for(int i=0;i<n;i++){ a[i]=i; g[i]=n-1; } } int hasEdge(int u, int v) { g[u]--; g[v]--; if(g[u]&&g[v])return 0; else return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...