CSES - Aalto Competitive Programming 2024 - wk1 - Mon - Results
Submission details
Task:Backpacking
Sender:sooki
Submission time:2024-09-02 16:22:26 +0300
Language:C++ (C++11)
Status:COMPILE ERROR

Compiler report

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status

Code

int add(int a, int b)
{
  return a + b;
}