# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1079202 | 2024-08-28T11:59:00 Z | hirayuu_oj | Game (IOI13_game) | C++17 | 0 ms | 0 KB |
#include "game.h" vector<int> cnt; void initialize(int n){ cnt.resize(n,n-1); } int hasEdge(int u, int v){ cnt[u]--;cnt[v]--; if(cnt[u]==0||cnt[v]==0)return 1; else return 0; }