Borderou de evaluare (job #2348425)
Utilizator | Data | 19 februarie 2019 18:28:57 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | simulare_oji_cls12_nr2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:5: error: 'vector' does not name a type
vector<string> membri;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:33:33: error: 'std::map<std::__cxx11::basic_string<char>, pluton>::mapped_type {aka struct pluton}' has no member named 'membri'
identificare[curent].membri.push_back(aux);
^~~~~~
main.cpp:48:21: error: 'vector' was not declared in this scope
vector <string > :: iterator it=identificare[x].membri.begin();
^~~~~~
main.cpp:48:36: error: expected primary-expression before '>' token
vector <string > :: iterator it=identificare[x].membri.begin();
^
main.cpp:48:51: error: missing template arguments before 'it'
vector <string > :: iterator it=identificare[x].membri.begin();
^~
main.cpp:49:28: error: 'it' was not declared in this scope
iden=(*it);
^~
main.cpp:63:37: error: 'std::map<std::__cxx11::basic_string<char>, pluton>::mapped_type {aka struct pluton}' has no member named 'membri'
for(string k:identificare[iden].membri)
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !