Submission #110047

#TimeUsernameProblemLanguageResultExecution timeMemory
110047DodgeBallManGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "game.h"

using namespace std;

const int N = 15e2 + 10;
int cnt[N];
void intialize( int n ) {}

int hasEdge( int u, int v ) { 
    if( u < v ) swap( u, v );
    cnt[u]++;
    if( cnt[u] == u ) return 1;
    else return 0;
}

Compilation message (stderr)

/tmp/ccx68Ao5.o: In function `main':
grader.cpp:(.text.startup+0x14): undefined reference to `initialize(int)'
collect2: error: ld returned 1 exit status