제출 #127888

#제출 시각아이디문제언어결과실행 시간메모리
127888Sorting선물상자 (IOI15_boxes)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int delivery(int n, int k, int l, vector<int> positions){ return 0; }

컴파일 시 표준 에러 (stderr) 메시지

boxes.cpp: In function 'int delivery(int, int, int, std::vector<int>)':
boxes.cpp:5:18: warning: unused parameter 'n' [-Wunused-parameter]
 int delivery(int n, int k, int l, vector<int> positions){
                  ^
boxes.cpp:5:25: warning: unused parameter 'k' [-Wunused-parameter]
 int delivery(int n, int k, int l, vector<int> positions){
                         ^
boxes.cpp:5:32: warning: unused parameter 'l' [-Wunused-parameter]
 int delivery(int n, int k, int l, vector<int> positions){
                                ^
boxes.cpp:5:47: warning: unused parameter 'positions' [-Wunused-parameter]
 int delivery(int n, int k, int l, vector<int> positions){
                                               ^~~~~~~~~
/tmp/ccwlIZuL.o: In function `main':
grader.c:(.text.startup+0x22f): undefined reference to `delivery(int, int, int, int*)'
collect2: error: ld returned 1 exit status