Submission #887740

#TimeUsernameProblemLanguageResultExecution timeMemory
887740Iliya_Rainforest Jumps (APIO21_jumps)C++14
Compilation error
0 ms0 KiB
//IN THE NAME OF GOD
#include<bits/stdc++.h>
#pragma GCC optimize("O2,unroll-loops")
#define endl        '\n'
#define F           first
#define S           second
#define pii         pair<int,int>
#define all(x)      x.begin(),x.end()
#define pb          push_back
#define fast_io     ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define file_io     freopen("input.in" , "r" , stdin) ; freopen("output.out" , "w" , stdout);
using namespace std;
typedef long long ll; 
typedef long double dll;

#include "jumps.h"
void init(int n, vector<int> h){
     int a = 1;
}

int minumum_jumps(int a, int b, int c, int d){
     return c-b; 
}

Compilation message (stderr)

jumps.cpp: In function 'void init(int, std::vector<int>)':
jumps.cpp:18:10: warning: unused variable 'a' [-Wunused-variable]
   18 |      int a = 1;
      |          ^
/usr/bin/ld: /tmp/ccCyIGon.o: in function `main':
stub.cpp:(.text.startup+0x1d1): undefined reference to `minimum_jumps(int, int, int, int)'
collect2: error: ld returned 1 exit status