Submission #465812

#TimeUsernameProblemLanguageResultExecution timeMemory
465812habibaissaHandcrafted Gift (IOI20_gift)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void craft (string s); int construct(int n, int r, vector<int> a, vector<int> b, vector<int> x) { string s; for(int i=0;i<n;i++) { s.push_back('B'); } craft(s); return 1; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccdE4fyJ.o: in function `construct(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)':
gift.cpp:(.text+0x10c): undefined reference to `craft(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: error: ld returned 1 exit status