답안 #1055334

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1055334 2024-08-12T17:36:19 Z codexistent 보물 찾기 (CEOI13_treasure2) C++14
컴파일 오류
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
#define MAXN 105
#define ll long long
#define FOR(i, a, b) for(ll i = a; i <= b; i++)

int main(){
    cout << "END" << endl;
    cout << "01\n11" << endl;
}

Compilation message

/usr/bin/ld: /tmp/ccbpNFtT.o: in function `main':
treasure.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccYIG59S.o:grader.c:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccYIG59S.o: in function `main':
grader.c:(.text.startup+0x103): undefined reference to `findTreasure(int)'
collect2: error: ld returned 1 exit status