Submission #465808

#TimeUsernameProblemLanguageResultExecution timeMemory
465808habibaissaHandcrafted Gift (IOI20_gift)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define int long long using namespace std; vector<vector<int> > l; vector<int> memo; int test=0; vector<set<int> > res; void craft (string s); int construct(int n, int r, int a, int b, 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/ccE2GtRf.o: in function `construct(long long, long long, long long, long long, long long)':
gift.cpp:(.text+0x10c): undefined reference to `craft(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/bin/ld: /tmp/ccnw0U8h.o: in function `main':
grader.cpp:(.text.startup+0x272): undefined reference to `construct(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status