답안 #1065440

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1065440 2024-08-19T07:38:07 Z MunkhturErdenebat 가장 긴 여행 (IOI23_longesttrip) C++17
컴파일 오류
0 ms 0 KB
#include<bits/stdc++.h>
#include <string.h>
#include <stdlib.h>
 #define ll long long
using namespace std;
    long long dfghjkl;
    long long tem,a,e,d,g=0,c,h=0,k[300011],me[4001230],m,t[1234567],n,i,j,f,mi,ha,he,ko,ka;
    string o,y,x[123456],z;
    long long ul,ma;
    char mr,taxi;
    long long bb,b;
    double xxx;
    pair<ll,long long> zxdfghj;
    vector<long long> q,kii;
    map<long long,long long> maa;
    
int main() {
    cout<<1<<endl;
}

Compilation message

/usr/bin/ld: /tmp/ccr1mjoL.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccjM0GRI.o:longesttrip.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccr1mjoL.o: in function `main':
stub.cpp:(.text.startup+0x95): undefined reference to `longest_trip(int, int)'
collect2: error: ld returned 1 exit status