Submission #521849

#TimeUsernameProblemLanguageResultExecution timeMemory
521849antonioqbabMemory (IOI10_memory)C++14
Compilation error
0 ms0 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; int main(){ vector<int> c[25]; for(int i=1;i<=50;++i) c[faceup(i)-'A'].emplace_back(i); for(int i=0;i<25;++i) faceup(c[i][0]), faceup(c[i][1]); }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccRDnT8R.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccSVVfBV.o:memory.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccRDnT8R.o: in function `main':
grader.cpp:(.text.startup+0x2f): undefined reference to `play()'
collect2: error: ld returned 1 exit status