Borderou de evaluare (job #1197129)

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

Raport evaluator

Eroare de compilare: 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: ‘map’ was not declared in this scope for(map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:19: error: expected primary-expression before ‘,’ token for(map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:20: error: expected primary-expression before ‘int’ for(map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:20: error: expected ‘;’ before ‘int’ user.cpp:78:55: error: ‘it’ was not declared in this scope for(map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp:78:61: error: ‘numar’ was not declared in this scope for(map<string,int>::iterator it = numar.begin(); it != numar.end(); ++it) ^ user.cpp: In function ‘void read()’: user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]

Ceva nu functioneaza?