Submission #1096724

#TimeUsernameProblemLanguageResultExecution timeMemory
1096724stdfloatXoractive (IZhO19_xoractive)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "grader.cpp" using namespace std; vector<int> guess(int n) { vector<int> ans; for (int i = 1; i <= n; i++) ans.push_back(ask(i)); return ans; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc2KUm5f.o: in function `query()':
grader.cpp:(.text+0x440): multiple definition of `query()'; /tmp/ccLtHKde.o:Xoractive.cpp:(.text+0x440): first defined here
/usr/bin/ld: /tmp/cc2KUm5f.o: in function `ask(int)':
grader.cpp:(.text+0x470): multiple definition of `ask(int)'; /tmp/ccLtHKde.o:Xoractive.cpp:(.text+0x470): first defined here
/usr/bin/ld: /tmp/cc2KUm5f.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccLtHKde.o:Xoractive.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc2KUm5f.o: in function `get_pairwise_xor(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x4d0): multiple definition of `get_pairwise_xor(std::vector<int, std::allocator<int> >)'; /tmp/ccLtHKde.o:Xoractive.cpp:(.text+0x5e0): first defined here
collect2: error: ld returned 1 exit status