제출 #231718

#제출 시각아이디문제언어결과실행 시간메모리
231718triple_fault게임 (IOI14_game)C++14
컴파일 에러
0 ms0 KiB
d[2e3];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[2e3];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
 ^
game.cpp:1:18: error: expected constructor, destructor, or type conversion before '(' token
 d[2e3];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
                  ^
game.cpp:1:30: error: expected constructor, destructor, or type conversion before '(' token
 d[2e3];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
                              ^