# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
96398 | 2019-02-09T09:42:23 Z | figter001 | Game (IOI14_game) | C++14 | 0 ms | 0 KB |
#include "game.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; const int manx = 2000; int cnt[maxn]; int hasEdge(int u, int v) { return ++cnt[max(u,v)] == max(u,v); }