Submission #231719

#TimeUsernameProblemLanguageResultExecution timeMemory
231719triple_faultGame (IOI14_game)C++17
Compilation error
0 ms0 KiB
d[1500];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[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;}
                               ^