Submission #986464

#TimeUsernameProblemLanguageResultExecution timeMemory
986464MuntherCarrotGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
d[3e3];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[3e3];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
    1 | d[3e3];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[3e3];initialize(n){}hasEdge(u,v){return++d[u=u>v?u:v]==u;}
      |                              ^