Borderou de evaluare (job #1211099)

Utilizator zeroblitz36FMI - Roscaneanu George zeroblitz36 Data 21 iulie 2014 23:12:16
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:45: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(in,"%hd %hd %hd %hd",&x1,&y1,&x2,&y2); ^ user.cpp:62:45: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:62:45: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:62:45: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:54:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d %d",&n,&m,&k); ^ user.cpp:58:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&v[i][j]); ^ user.cpp:62:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%hd %hd %hd %hd",&x1,&y1,&x2,&y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit248kbTime limit exceeded.0
20ms272kbOK10
30ms276kbOK10
40ms268kbOK10
5Depăşit252kbTime limit exceeded.0
640ms276kbOK10
74ms272kbOK10
8Depăşit268kbTime limit exceeded.0
9196ms280kbOK10
100ms284kbOK10
Punctaj total70

Ceva nu functioneaza?