Borderou de evaluare (job #1939566)

Utilizator WebDesignbyTMGhiorghiu Ioan-Viorel WebDesignbyTM Data 25 martie 2017 20:19:39
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:24:25: error: ‘max’ was not declared in this scope pos = max(1, pos); ^ user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fi, "%d", &n); ^ user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fi, "%d", &v[i]); ^

Ceva nu functioneaza?