Submission #1242714

#TimeUsernameProblemLanguageResultExecution timeMemory
1242714mohamedboukerche55Split the Attractions (IOI19_split)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;
using ll = long long ;

vector<int> finode_split(int n, int a, int b, int c, vector<int> p, vector<int> q) 
{
    vector<int>ans;
    if(a == b == c)
    {
        return p;
    }
    else
    {
        return q;
    }

    
   return ans;
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccEiD91f.o: in function `main':
grader.cpp:(.text.startup+0x277): undefined reference to `find_split(int, int, int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status