Submission #918000

#TimeUsernameProblemLanguageResultExecution timeMemory
918000zhasynGame (IOI14_game)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define pb push_back #define pf push_front using namespace std; #define F first #define S second typedef long long ll; #define pii pair <int, int> #define pll pair <ll, ll> typedef long double ld; const ll N = 1500 + 10, M = 30; const ll mod = 998244353; int g; bool block[N][N]; void initialize(int n){ g = n; } bool check(int ) int hasEdge(int u, int v){ return 1; }

Compilation message (stderr)

game.cpp:19:1: error: expected initializer before 'int'
   19 | int hasEdge(int u, int v){
      | ^~~