Submission #454853

#TimeUsernameProblemLanguageResultExecution timeMemory
454853zxcvbnmMini tetris (IOI16_tetris)C++14
Compilation error
0 ms0 KiB
#include "tetris.h" #include <bits/stdc++.h> using namespace std; signed main() { return 0; } //void init(int n) { //} int position; int rotation; void new_figure(int figure_type) { } int get_position() { return 0; } int get_rotation() { return 0; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccrLBOIG.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccmiUw0J.o:tetris.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccrLBOIG.o: in function `main':
grader.cpp:(.text.startup+0xd6): undefined reference to `init(int)'
collect2: error: ld returned 1 exit status