Submission #567367

#TimeUsernameProblemLanguageResultExecution timeMemory
567367BelguteiSwapping Cities (APIO20_swap)C++17
Compilation error
0 ms0 KiB
#include "swap.h" #include<bits/stdc++.h> using namespace std; #define ll long long #define ff first #define ss second #define pb push_back #define mk make_pair #define X real() #define Y imag() #define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define MOD 1000000007 #define MOD1 1000000009 #define sqr(x) sqr((x)*(x)) void debug_out() { cerr << endl; } template<typename Head, typename... Tail> void debug_out(Head H, Tail... T) { cerr << ' ' << H; debug_out(T...); } #ifdef BE_DEBUG #define debug(...) cerr << "\033[1;31m(" << #__VA_ARGS__ << "):\033[0m", debug_out(__VA_ARGS__) #else #define debug(...) #endif void init(int N, int M, std::vector<int> U, std::vector<int> V, std::vector<int> W) { return; } int getMinimumFuelCapacity(int X, int Y) { return -1; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccvu011M.o: in function `main':
grader.cpp:(.text.startup+0x217): undefined reference to `getMinimumFuelCapacity(int, int)'
collect2: error: ld returned 1 exit status