Submission #400866

#TimeUsernameProblemLanguageResultExecution timeMemory
400866radaiosm7Game (IOI14_game)C++98
Compilation error
0 ms0 KiB
#include "game.h" int cc[1505]; void initialize(int n) { return; } int hasEdge(int u, int v) { return (++cc[max(u,v)] == max(u,v)); }

Compilation message (stderr)

game.cpp: In function 'int hasEdge(int, int)':
game.cpp:9:16: error: 'max' was not declared in this scope
    9 |   return (++cc[max(u,v)] == max(u,v));
      |                ^~~