Submission #1065440

# Submission time Handle Problem Language Result Execution time Memory
1065440 2024-08-19T07:38:07 Z MunkhturErdenebat Longest Trip (IOI23_longesttrip) C++17
Compilation error
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