Submission #120668

#TimeUsernameProblemLanguageResultExecution timeMemory
120668imsifilePlay Onwards (FXCUP4_onward)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

/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