제출 #1326691

#제출 시각아이디문제언어결과실행 시간메모리
1326691BigBadBully사탕 분배 (IOI21_candies)C++20
컴파일 에러
0 ms0 KiB
#include "candies.h" #include <bits/stdc++.h> #define int long long const int inf = 1e18; using namespace std; struct node{ int pref = 0,sub= 0,sum= 0,suf=0; }; vector<int> distribute_candies(vector<int> c, vector<int> l, vector<int> r, vector<int> v) { int n = c.size(); vector<int> s(n); return s; } #undef int

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

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