Submission #931940

#TimeUsernameProblemLanguageResultExecution timeMemory
931940skyvn97Boxes with souvenirs (IOI15_boxes)C++14
Compilation error
0 ms0 KiB
#include "boxes.h" #include<bits/stdc++.h> using namespace std; long long delivery(int N, int K, int L, int positions[]) { return 220797; } int main(void) { cout << 123 << endl; }

Compilation message (stderr)

boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:6:24: warning: unused parameter 'N' [-Wunused-parameter]
    6 | long long delivery(int N, int K, int L, int positions[]) {
      |                    ~~~~^
boxes.cpp:6:31: warning: unused parameter 'K' [-Wunused-parameter]
    6 | long long delivery(int N, int K, int L, int positions[]) {
      |                           ~~~~^
boxes.cpp:6:38: warning: unused parameter 'L' [-Wunused-parameter]
    6 | long long delivery(int N, int K, int L, int positions[]) {
      |                                  ~~~~^
boxes.cpp:6:45: warning: unused parameter 'positions' [-Wunused-parameter]
    6 | long long delivery(int N, int K, int L, int positions[]) {
      |                                         ~~~~^~~~~~~~~~~
/usr/bin/ld: /tmp/ccr71YUz.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccJZsgYy.o:boxes.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status