제출 #436361

#제출 시각아이디문제언어결과실행 시간메모리
436361stoyan_malinin콤보 (IOI18_combo)C++14
컴파일 에러
0 ms0 KiB
#include <iostream> #include <vector> #include <string> #include "combo.h" #include "grader.cpp" using namespace std; string guess_sequence(int N) { return ""; }

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

/usr/bin/ld: /tmp/ccneCjLr.o: in function `press(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
grader.cpp:(.text+0x0): multiple definition of `press(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'; /tmp/cce7l0tr.o:combo.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccneCjLr.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cce7l0tr.o:combo.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status