Submission #1252518

#TimeUsernameProblemLanguageResultExecution timeMemory
1252518bzzzzzzzzzzTriple Peaks (IOI25_triples)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "triples.h"
using namespace std;
using ll = long long;

std::vector<int> construct_range(int M, int K) {
    vector<int> v;
    for (int i = 0; i < M; i++) {
        v.push_back(2);
        v.push_back(1);
        v.push_back(2);
        v.push_back(3);
        v.push_back(3);
    }
    v.resize(M);
    return v;
}

Compilation message (stderr)

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