# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
7307 | 2014-07-30T06:59:53 Z | gs13068 | 게임 (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); }