Submission #603680

# Submission time Handle Problem Language Result Execution time Memory
603680 2022-07-24T09:38:15 Z 박상훈(#8426) Collapse (JOI18_collapse) C++17
Compilation error
0 ms 0 KB
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

Compilation message

/usr/bin/ld: /tmp/cc83TkCS.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccMA6glW.o:collapse.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc83TkCS.o: in function `main':
grader.cpp:(.text.startup+0x227): undefined reference to `simulateCollapse(int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<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