제출 #931943

#제출 시각아이디문제언어결과실행 시간메모리
931943skyvn97선물상자 (IOI15_boxes)C++14
컴파일 에러
0 ms0 KiB
#include "boxes.h" #include<bits/stdc++.h> using namespace std; long long delivery(long long N, int K, int L, int positions[]) { return 220797; }

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

boxes.cpp: In function 'long long int delivery(long long int, int, int, int*)':
boxes.cpp:6:30: warning: unused parameter 'N' [-Wunused-parameter]
    6 | long long delivery(long long N, int K, int L, int positions[]) {
      |                    ~~~~~~~~~~^
boxes.cpp:6:37: warning: unused parameter 'K' [-Wunused-parameter]
    6 | long long delivery(long long N, int K, int L, int positions[]) {
      |                                 ~~~~^
boxes.cpp:6:44: warning: unused parameter 'L' [-Wunused-parameter]
    6 | long long delivery(long long N, int K, int L, int positions[]) {
      |                                        ~~~~^
boxes.cpp:6:51: warning: unused parameter 'positions' [-Wunused-parameter]
    6 | long long delivery(long long N, int K, int L, int positions[]) {
      |                                               ~~~~^~~~~~~~~~~
/usr/bin/ld: /tmp/ccyJipi0.o: in function `main':
grader.c:(.text.startup+0x1ef): undefined reference to `delivery(int, int, int, int*)'
collect2: error: ld returned 1 exit status