Submission #1148667

#TimeUsernameProblemLanguageResultExecution timeMemory
1148667sunflowerBoxes with souvenirs (IOI15_boxes)C++17
Compilation error
0 ms0 KiB
#include "boxes.h" #include <bits/stdc++.h> using namespace std; int delivery(int n, int k, int l, int pos[]) { return 1; }

Compilation message (stderr)

boxes.cpp:6:5: error: ambiguating new declaration of 'int delivery(int, int, int, int*)'
    6 | int delivery(int n, int k, int l, int pos[]) {
      |     ^~~~~~~~
In file included from boxes.cpp:1:
boxes.h:4:11: note: old declaration 'long long int delivery(int, int, int, int*)'
    4 | long long delivery(int N, int K, int L, int p[]);
      |           ^~~~~~~~