Borderou de evaluare (job #1450054)

Utilizator DiClauDan Claudiu DiClau Data 11 iunie 2015 12:01:31
Problema Sediu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:35:20: error: ‘n’ was not declared in this scope sol[x] = maxim(n - desc[x], max2); ^ user.cpp:35:37: error: ‘maxim’ was not declared in this scope sol[x] = maxim(n - desc[x], max2); ^ user.cpp: In function ‘int main()’: user.cpp:50:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (in, "%d", &n); ^ user.cpp:54:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (in, "%d%d", &x, &y); ^

Ceva nu functioneaza?