Borderou de evaluare (job #2079654)

Utilizator borscalinCalin-Stefan Georgescu borscalin Data 1 decembrie 2017 17:41:46
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘coord coord::operator+(coord)’: user.cpp:12:19: warning: narrowing conversion of ‘(((int)((coord*)this)->coord::x) + ((int)a.coord::x))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] return {x + a.x, y + a.y}; ^ user.cpp:12:28: warning: narrowing conversion of ‘(((int)((coord*)this)->coord::y) + ((int)a.coord::y))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] return {x + a.x, y + a.y}; ^ user.cpp: In function ‘int main()’: user.cpp:49:46: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] coord aux = (coord) {x, y} + dir[i]; ^ user.cpp:49:46: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:34:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%hd", &n, &m, &H); ^ user.cpp:37:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd", &tmap[x][y]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbOK10
20ms588kbOK10
3248ms3380kbOK10
48ms740kbOK10
544ms1912kbOK10
6204ms3852kbOK10
7204ms3388kbOK10
860ms2196kbOK10
9160ms3132kbOK10
10204ms3392kbOK10
Punctaj total100

Ceva nu functioneaza?