Submission #1250548

#TimeUsernameProblemLanguageResultExecution timeMemory
1250548BlockOGTriple Peaks (IOI25_triples)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>

// meow meow :3
// play vivid/stasis! it's free on steam

using namespace std;

long long count_peaks(vector<int> h) {
    return 0;
}

vector<int> construct_range(int m, int k) {
   vector<int> res(m);
   const int a[3] = {1, 4, 5};
   for (int i = 0; i < m; i++) res[i] = a[i % 3];
   return res;
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccxgPBb1.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