Submission #380570

#TimeUsernameProblemLanguageResultExecution timeMemory
380570wind_reaperGame (IOI14_game)C++17
Compilation error
0 ms0 KiB
int cnt[1500]; void initialize(int n){ } bool hasEdge(int u, int v){ u = max(u, v); cnt[u]++; return cnt[u] == u; }

Compilation message (stderr)

game.cpp: In function 'bool hasEdge(int, int)':
game.cpp:6:6: error: 'max' was not declared in this scope
    6 |  u = max(u, v);
      |      ^~~