Submission #569504

#TimeUsernameProblemLanguageResultExecution timeMemory
569504niloyrootSwapping Cities (APIO20_swap)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<ll>; using pl = pair<ll,ll>; #define pb push_back #define form(m,it) for(auto it=m.begin(); it!=m.end(); it++) #define forp(i,a,b) for(ll i=a; i<=b; i++) #define forn(i,a,b) for(ll i=a; i>=b; i--) #define newl '\n' #define ff first #define ss second const ll mod = 1000000007; void init(int a, int b, vector<int> c, vector<int> d, vector<int> e){ } int getMinimumFuel(int X, int Y){ return -1; }

Compilation message (stderr)

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