제출 #1243482

#제출 시각아이디문제언어결과실행 시간메모리
1243482sigma콤보 (IOI18_combo)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> int press(std::string p); std::string guess_sequence(int N) { std::string s = ""; std::string x = "abxy"; for (int i = 0; i < N; i++) { for (int j = 0; j < 4; j++) { s.push_back(x[j]); if (press(s) == i+1) break; else s.pop_back(); } } return s; } int main() { }

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

/usr/bin/ld: /tmp/cc8puSq6.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccRPuIBX.o:combo.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status