Submission #231718

#TimeUsernameProblemLanguageResultExecution timeMemory
231718triple_faultGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
d[2e3];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}

Compilation message (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;}
                              ^