Submission #607305

#TimeUsernameProblemLanguageResultExecution timeMemory
607305MohamedFaresNebiliFriend (IOI14_friend)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
/// #pragma GCC optimize ("Ofast")
/// #pragma GCC target ("avx2")
/// #pragma GCC optimize("unroll-loops")
 
            using namespace std;
 
            using ll = long long;
            using ld = long double;
 
            #define ff first
            #define ss second
            #define pb push_back
            #define all(x) (x).begin(), (x).end()
            #define lb lower_bound
 
            const int MOD = 998244353;
 
            int findSamle(int N, int* confidence,
                          int* host, int* protocol) {
                int res = 0;
                for(int l = 0; l < N; l++)
                    res += confidence[l];
                return res;
            }

Compilation message (stderr)

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