Submission #1368842

#TimeUsernameProblemLanguageResultExecution timeMemory
1368842po_rag526Game (IOI14_game)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
void initialize (int n) (} int c[1500];
int hasEdge(int u, int v) { return ++c[min(u, v)] == min (u, v);}

Compilation message (stderr)

game.cpp:3:25: error: initializer provided for function
    3 | void initialize (int n) (} int c[1500];
      |                         ^
game.cpp:3:26: error: expected ',' or ';' before '}' token
    3 | void initialize (int n) (} int c[1500];
      |                          ^
game.cpp:3:26: error: expected declaration before '}' token