Submission #777791

#TimeUsernameProblemLanguageResultExecution timeMemory
777791RonTheprogrammerGame (IOI14_game)C++17
Compilation error
0 ms0 KiB

#include <bits/stdc++.h>
 
using namespace std;
 
typedef long long ll;
 
void initialize(int n);{
  
}
int c[1012];
int hasEdge(int u, int v)
{
  return (++c[max(u,v)] == max(u,v));
}

Compilation message (stderr)

game.cpp:8:24: error: expected unqualified-id before '{' token
    8 | void initialize(int n);{
      |                        ^