답안 #120668

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
120668 2019-06-25T07:42:10 Z imsifile Play Onwards (FXCUP4_onward) C++17
컴파일 오류
0 ms 0 KB
#include "make.h"

void MakeWord(int N, int M, std::vector<std::string> Dict, std::string &W) {
	while(M--) W+='a';
}
#include "guess.h"

void GuessWord(int M, std::string YH, std::string &W){
	while(M--) W+='a';
}

Compilation message

/tmp/cc4fnxPu.o: In function `main':
grader_m.cpp:(.text.startup+0x220): undefined reference to `MakeWord(int, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)'
collect2: error: ld returned 1 exit status

/tmp/cclCOD7y.o: In function `main':
grader_g.cpp:(.text.startup+0x19a): undefined reference to `GuessWord(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: error: ld returned 1 exit status