Submission #148000

#TimeUsernameProblemLanguageResultExecution timeMemory
148000bruteforcer (#201)Play Onwards (FXCUP4_onward)C++17
Compilation error
0 ms0 KiB
#include "make.h" using namespace std; char * MakeWord(int N, int M, char ** dict) { char * myrequest = new char[M + 1]; myrequest[M] = 0; for (int i = 0; i < M; ++i) { myrequest[i] = 'a'; } return myrequest; }
#include "guess.h" using namespace std; char * GuessWord(int M, char * YH) { char * myrequest = new char[M + 1]; myrequest[M] = 0; for (int i = 0; i < M; ++i) { myrequest[i] = 'a'; } return myrequest; }

Compilation message (stderr)

/tmp/ccKQznC7.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/ccD8gUij.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