Borderou de evaluare (job #1097581)
Utilizator | Data | 3 februarie 2014 16:57:47 | |
---|---|---|---|
Problema | Unicat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: ‘unordered_map’ does not name a type
unordered_map <string, bool> Ma[2], Mb[2];
^
user.cpp: In function ‘int expand1e(std::string, std::string, int, int)’:
user.cpp:20:13: error: ‘Ma’ was not declared in this scope
if (Ma[0].find (x) == Ma[0].end())
^
user.cpp: In function ‘int expand2e(std::string, std::string, int, int)’:
user.cpp:31:13: error: ‘Ma’ was not declared in this scope
if (Ma[0].find(x) != Ma[0].end() && Mb[0].find(x) == Mb[0].end())
^
user.cpp:31:45: error: ‘Mb’ was not declared in this scope
if (Ma[0].find(x) != Ma[0].end() && Mb[0].find(x) == Mb[0].end())
^
user.cpp: In function ‘int expand1o(std::string, std::string, int, int)’:
user.cpp:42:13: error: ‘Ma’ was not declared in this scope
if (Ma[1].find (x) == Ma[1].end())
^
user.cpp: In function ‘int expand2o(std::string, std::string, int, int)’:
user.cpp:53:13: error: ‘Ma’ was not declared in this scope
if (Ma[1].find(x) != Ma[1].end() && Mb[1].find(x) == Mb[1].end())
^
user.cpp:53:45: error: ‘Mb’ was not declared in this scope
if (Ma[1].find(x) != Ma[1].end() && Mb[1].find(x) == Mb[1].end())
^
user.cpp: In function ‘int main()’:
user.cpp:137:13: error: ‘Mb’ was not declared in this scope
fout << Mb[0].size() + Mb[1].size();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !