Borderou de evaluare (job #1939441)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 25 martie 2017 19:02:03
Problema Mayonaka Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:1: error: ‘unordered_map’ does not name a type unordered_map<int,int> V[100001]; ^ user.cpp: In function ‘int main()’: user.cpp:26:13: error: ‘V’ was not declared in this scope V[x][l]+=gr; ^ user.cpp:35:17: error: ‘V’ was not declared in this scope V[i][j]+=V[i-j][j]; ^ user.cpp:36:21: error: ‘V’ was not declared in this scope rez[i]+=V[i][j]; ^ user.cpp:14:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&N,&M); ^ user.cpp:18:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d %d",&x,&y,&l,&gr); ^

Ceva nu functioneaza?