제출 #231719

#제출 시각아이디문제언어결과실행 시간메모리
231719triple_fault게임 (IOI14_game)C++17
컴파일 에러
0 ms0 KiB
d[1500];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}

컴파일 시 표준 에러 (stderr) 메시지

game.cpp:1:1: error: 'd' does not name a type
 d[1500];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
 ^
game.cpp:1:19: error: expected constructor, destructor, or type conversion before '(' token
 d[1500];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
                   ^
game.cpp:1:31: error: expected constructor, destructor, or type conversion before '(' token
 d[1500];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
                               ^