제출 #521133

#제출 시각아이디문제언어결과실행 시간메모리
521133krit3379Gondola (IOI14_gondola)C++14
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;
#define N 100005


int valid(int n,int arr[N]){
    return 1;
}

int replacement(int n, int gondolaSeq[N], int replacementSeq[N]){
  return 1;
}

int countReplacement(int n, int inputSeq[N]){
  return 1;
}

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

/usr/bin/ld: /tmp/ccC8Isq9.o: in function `main':
grader.cpp:(.text.startup+0xb6): undefined reference to `valid'
/usr/bin/ld: grader.cpp:(.text.startup+0x108): undefined reference to `countReplacement'
/usr/bin/ld: grader.cpp:(.text.startup+0x132): undefined reference to `replacement'
collect2: error: ld returned 1 exit status