Borderou de evaluare (job #1419383)

Utilizator narcis_vsGemene Narcis - Gabriel narcis_vs Data 15 aprilie 2015 15:06:35
Problema Vmin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:21:1: error: ‘unordered_map’ does not name a type unordered_map < int , int > Ind; ^ user.cpp:22:1: error: ‘unordered_map’ does not name a type unordered_map < int , int > M; ^ user.cpp: In function ‘int main()’: user.cpp:37:12: error: ‘M’ was not declared in this scope if(M.find(a)==M.end()) ^ user.cpp:40:13: error: ‘Ind’ was not declared in this scope Ind[a] = i; ^ user.cpp:46:17: error: ‘Ind’ was not declared in this scope Ind[a] = i; ^ user.cpp:50:39: error: ‘M’ was not declared in this scope map < int , int >::iterator it1 = M.begin(); ^ user.cpp:51:39: error: ‘Ind’ was not declared in this scope map < int , int >::iterator it2 = Ind.begin(); ^ user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vmin.in","r",stdin); ^ user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vmin.out","w",stdout); ^

Ceva nu functioneaza?