Submission #92954

#TimeUsernameProblemLanguageResultExecution timeMemory
92954beso123Combo (IOI18_combo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; string guess_sequence(int N){ } int press(string p){ } int main(){ return 0; }

Compilation message (stderr)

combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:5:1: warning: no return statement in function returning non-void [-Wreturn-type]
    5 | }
      | ^
combo.cpp: In function 'int press(std::string)':
combo.cpp:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
    8 | }
      | ^
/usr/bin/ld: /tmp/ccM4vk75.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/ccaXKSd7.o:combo.cpp:(.text.unlikely+0x4): first defined here
/usr/bin/ld: /tmp/ccM4vk75.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccaXKSd7.o:combo.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status