Submission #845998

#TimeUsernameProblemLanguageResultExecution timeMemory
845998Trisanu_DasLongest Trip (IOI23_longesttrip)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #include "longesttrip.h" int n; vector<int> ans; vector<int> longesttrip(int N, int D){ int n = N; ans.clear(); for(int i = 0; i < n; i++) ans.push_back(i); return ans; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccnsrGm8.o: in function `main':
stub.cpp:(.text.startup+0x95): undefined reference to `longest_trip(int, int)'
collect2: error: ld returned 1 exit status