Borderou de evaluare (job #2387451)

Utilizator IulianOleniucIulian Oleniuc IulianOleniuc Data 24 martie 2019 18:02:58
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:84:6: error: no matching function for call to 'SegmTree<int>::SegmTree(std::vector<int>&, main()::<lambda(int, int)>)' }); ^ main.cpp:57:5: note: candidate: SegmTree<T>::SegmTree(std::vector<T>&, T (*)(T, T)) [with T = int] SegmTree(std::vector<T>& v, T (*fct)(T, T)) { ^~~~~~~~ main.cpp:57:5: note: no known conversion for argument 2 from 'main()::<lambda(int, int)>' to 'int (*)(int, int)' main.cpp:8:7: note: candidate: SegmTree<int>::SegmTree(const SegmTree<int>&) class SegmTree { ^~~~~~~~ main.cpp:8:7: note: candidate expects 1 argument, 2 provided main.cpp:8:7: note: candidate: SegmTree<int>::SegmTree(SegmTree<int>&&) main.cpp:8:7: note: candidate expects 1 argument, 2 provided Non zero exit status: 1

Ceva nu functioneaza?