Submission #83343

#TimeUsernameProblemLanguageResultExecution timeMemory
83343farukkastamonudaGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
#include "game.h"
#include <bits/stdc++.h>
#define li 1505
#define inf 2000001000
#define md 1000000007
#define lo long long
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define ii pair<lo int,lo int>
using namespace std;
int cnt[li];
void initialize(int n){
	N=n;
}
int hasEdge(int u,int v){
	if(u>v) swap(u,v);
	return ++cnt[v]==v;
}
//~ int main(){
	//~ initialize(4);
	//~ return 0;
//~ }

Compilation message (stderr)

game.cpp: In function 'void initialize(int)':
game.cpp:15:2: error: 'N' was not declared in this scope
  N=n;
  ^