Submission #500123

# Submission time Handle Problem Language Result Execution time Memory
500123 2021-12-30T10:45:00 Z beaconmc Rice Hub (IOI11_ricehub) C++17
Compilation error
0 ms 0 KB
#include "ricehub.h"
#include <bits/stdc++.h>


typedef long long ll;
#define FOR(i, x, y) for(ll i=x; i<y; i++)

using namespace std;



ll besthub(ll r, ll l, ll x[], ll b){
    sort(x, x+r);
    return 0;

}

Compilation message

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