제출 #1369076

#제출 시각아이디문제언어결과실행 시간메모리
1369076eyadooz게임 (IOI14_game)C++20
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h>
#include"game.h"
using namespace std;

typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;

#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(x) (int) (x).size()
#define endl '\n'

void initialize(int n);
int cnt[200005]={};
int hasEdge(int u, int v)
{
    cnt[max(u, v)]++;
    return cnt[max(u, v)]==max(u, v);
}

컴파일 시 표준 에러 (stderr) 메시지

/usr/bin/ld: /tmp/cckuRGJL.o: in function `main':
grader.cpp:(.text.startup+0x2c): undefined reference to `initialize(int)'
collect2: error: ld returned 1 exit status