Borderou de evaluare (job #1197132)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 10 iunie 2014 20:49:55
Problema Pentagrame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:17: error: ‘tr1’ is not a namespace-name using namespace tr1; ^ user.cpp:10:20: error: expected namespace-name before ‘;’ token using namespace tr1; ^ user.cpp:19:1: error: ‘unordred_map’ does not name a type unordred_map<string,int> penta; ^ user.cpp:20:1: error: ‘unordred_map’ does not name a type unordred_map<string,int> used; ^ user.cpp:21:1: error: ‘unordred_map’ does not name a type unordred_map<string,int> numar; ^ user.cpp: In function ‘void read()’: user.cpp:35:9: error: ‘penta’ was not declared in this scope penta[pe] = 1; ^ user.cpp: In function ‘void solve()’: user.cpp:48:13: error: ‘used’ was not declared in this scope used[folo.back()] = 0; ^ user.cpp:50:13: error: ‘numar’ was not declared in this scope numar[folo.back()]++; ^ user.cpp:63:16: error: ‘penta’ was not declared in this scope if(penta[aux] == 1 && !used[aux]) ^ user.cpp:63:36: error: ‘used’ was not declared in this scope if(penta[aux] == 1 && !used[aux]) ^ user.cpp:72:9: error: ‘used’ was not declared in this scope used[folo.back()] = 0; ^ user.cpp:74:9: error: ‘numar’ was not declared in this scope numar[folo.back()]++; ^ user.cpp:78:9: error: ‘unordred_map’ was not declared in this scope for(unordred_map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:28: error: expected primary-expression before ‘,’ token for(unordred_map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:29: error: expected primary-expression before ‘int’ for(unordred_map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:29: error: expected ‘;’ before ‘int’ user.cpp:78:64: error: ‘it’ was not declared in this scope for(unordred_map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it)

Ceva nu functioneaza?