# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
381610 | 2021-03-25T10:57:01 Z | strawberry2005 | 게임 (IOI14_game) | C++14 | 0 ms | 0 KB |
#include "game.h" #include<bits/stdc++.h> void initialize(int n) { } int cnt[1501]; int hasEdge(int u, int v) { cnt[max(u,v)]++; if(cnt[max(u,v)]==max(u,v)) return 1; return(0); }