제출 #843955

#제출 시각아이디문제언어결과실행 시간메모리
843955mihaibun축구 경기장 (IOI23_soccer)C++17
컴파일 에러
0 ms0 KiB
#include <iostream> #include <soccer.h> using namespace std; int biggest_stadium(int N, int F[][2001]) { int i,j,x=0; for(i = 0; i < N; i++) for(j = 0; j < N; j++) if(F[i][j]==0) x++; return x; }

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

/usr/bin/ld: /tmp/ccyFrPZ7.o: in function `main':
grader.cpp:(.text.startup+0x4ac): undefined reference to `biggest_stadium(int, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)'
collect2: error: ld returned 1 exit status