Submission #1361486

#TimeUsernameProblemLanguageResultExecution timeMemory
1361486jalol250Triple Peaks (IOI25_triples)C++20
Compilation error
0 ms0 KiB
#include <vector>
using namespace std;

vector<int> construct_range(int M, int K) {
    int n = M;
    if (n > 1000) n = 1000;
    if (n < 3) n = 3;

    vector<int> H(n);
    for (int i = 0; i < n; i++) {
        H[i] = i + 1;
    }

    return H;
}

Compilation message (stderr)

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