Submission #986465

#TimeUsernameProblemLanguageResultExecution timeMemory
986465MuntherCarrotGame (IOI14_game)C++14
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
    1 | 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
    1 | d[1500];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
    1 | d[1500];initialize(n);hasEdge(u,v){return++d[u=u>v?u:v]==u;}
      |                              ^