Borderou de evaluare (job #1264429)

Utilizator ConstantinPetroviciPetrovici Constantin ConstantinPetrovici Data 15 noiembrie 2014 20:04:47
Problema Muzeu 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:60:35: error: invalid operands of types ‘void’ and ‘int’ to binary ‘operator==’ if ( lee ( i , j ) == 1 ) printf ("-1 "); ^ user.cpp:37:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("muzeu.in" , "r" , stdin ) ; ^ user.cpp:38:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("muzeu.out" , "w" , stdout ) ; ^ user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &n ) ; ^ user.cpp:43:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &mat [ i ] [ j ] ) ; ^

Ceva nu functioneaza?