Borderou de evaluare (job #1341023)

Utilizator DiClauDan Claudiu DiClau Data 12 februarie 2015 12:05:16
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf (in, "%hd%hd%d%d%d%d", &n, &m, &start.x, &start.y, &destinatie.x, &destinatie.y); ^ user.cpp:65:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:65:92: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (in, "%hd%hd%d%d%d%d", &n, &m, &start.x, &start.y, &destinatie.x, &destinatie.y); ^ user.cpp:70:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%hd", &mat[i][j].val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms328kbOK10
30ms504kbIncorect0
44ms724kbOK10
54ms724kbOK10
624ms2152kbOK10
768ms4172kbOK10
8156ms6836kbIncorect0
9284ms11996kbOK10
10332ms11992kbOK10
Punctaj total80

Ceva nu functioneaza?