Borderou de evaluare (job #2725113)

Utilizator theo2003Theodor Negrescu theo2003 Data 18 martie 2021 14:15:47
Problema Barman Status done
Runda simularesimulare Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:15: error: 'vector' was not declared in this scope map<int, pair<vector<int>, int> > p; ^~~~~~ main.cpp:10:25: error: wrong number of template arguments (1, should be 2) map<int, pair<vector<int>, int> > p; ^ In file included from /usr/include/c++/6/utility:70:0, from /usr/include/c++/6/algorithm:60, from main.cpp:1: /usr/include/c++/6/bits/stl_pair.h:194:12: note: provided for 'template<class _T1, class _T2> struct std::pair' struct pair ^~~~ main.cpp:10:31: error: template argument 2 is invalid map<int, pair<vector<int>, int> > p; ^ main.cpp:10:31: error: template argument 4 is invalid main.cpp:10:33: error: expected unqualified-id before '>' token map<int, pair<vector<int>, int> > p; ^ main.cpp: In function 'long long int findmin()': main.cpp:13:5: error: 'p' was not declared in this scope p.clear(); ^ Non zero exit status: 1

Ceva nu functioneaza?