# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
7307 | 2014-07-30T06:59:53 Z | gs13068 | Game (IOI14_game) | C++ | 0 ms | 0 KB |
#include "game.h" #include <algorithm> void initialize(int n); int a[1501]; int hasEdge(int u,int v) { return ++a[std::max(u,v)] == std::max(u,v); }