# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13339 | 2015-02-12T11:38:45 Z | ggoh | Game (IOI14_game) | C++ | 0 ms | 0 KB |
#include<cstdio> int w[1501],m,t; void initialize(int n); int hasEdge(int u,int v) { int c; if(u>v)c=u,u=v,v=c; w[v]++; if(w[v]==v)return 1; else return 0; }