Borderou de evaluare (job #1896610)

Utilizator robert_fanrRobert Banu robert_fanr Data 28 februarie 2017 19:49:09
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void pctIntalnire()’: user.cpp:97:13: error: ‘INT_MAX’ was not declared in this scope int tmin = INT_MAX, x=0, y=0; ^ user.cpp:105:7: error: ‘x’ was not declared in this scope x = i; ^ user.cpp:106:7: error: ‘y’ was not declared in this scope y = j; ^ user.cpp:109:26: error: ‘x’ was not declared in this scope out << tmin+1 << " " << x << " " << y; ^ user.cpp:109:38: error: ‘y’ was not declared in this scope out << tmin+1 << " " << x << " " << y; ^ user.cpp: In function ‘void citire()’: user.cpp:30:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in_h,"%d %d", &n, &m); ^ user.cpp:33:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in_h, "%c", &trash); ^ user.cpp:35:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in_h, "%c", &matrice[i][j]); ^

Ceva nu functioneaza?