제출 #1148667

#제출 시각아이디문제언어결과실행 시간메모리
1148667sunflowerBoxes with souvenirs (IOI15_boxes)C++17
컴파일 에러
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; }

컴파일 시 표준 에러 (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[]);
      |           ^~~~~~~~