Borderou de evaluare (job #2692617)
Utilizator | Data | 3 ianuarie 2021 12:45:24 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:51:50: error: 'function' has not been declared
vector<uint64_t> mapf(const vector<uint64_t>& v, function<uint64_t(uint64_t)> f) {
^~~~~~~~
main.cpp:51:58: error: expected ',' or '...' before '<' token
vector<uint64_t> mapf(const vector<uint64_t>& v, function<uint64_t(uint64_t)> f) {
^
main.cpp: In function 'std::vector<long unsigned int> mapf(const std::vector<long unsigned int>&, int)':
main.cpp:53:48: error: 'f' was not declared in this scope
transform(v.begin(), v.end(), result.begin(), f);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !