Borderou de evaluare (job #1341020)

Utilizator DiClauDan Claudiu DiClau Data 12 februarie 2015 12:03:26
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:67: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:67:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:67: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:72: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
10ms296kbOK10
20ms332kbOK10
30ms512kbIncorect0
44ms720kbOK10
54ms728kbOK10
628ms2156kbOK10
772ms4172kbOK10
8164ms6832kbIncorect0
9344ms11996kbOK10
10304ms11988kbOK10
Punctaj total80

Ceva nu functioneaza?