Submission #569504

# Submission time Handle Problem Language Result Execution time Memory
569504 2022-05-27T12:47:52 Z niloyroot Swapping Cities (APIO20_swap) C++14
Compilation error
0 ms 0 KB
#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

/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