Borderou de evaluare (job #1231095)

Utilizator VisanCosminVisan Tudor Cosmin VisanCosmin Data 19 septembrie 2014 15:08:42
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d%d%d%d",&start.x,&start.y,&finish.x,&finish.y); ^ user.cpp:30:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:30:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:30:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:22:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:27:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&x,&y); ^ user.cpp:30:63: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d%d",&start.x,&start.y,&finish.x,&finish.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms268kbIncorect0
30ms304kbIncorect0
40ms404kbIncorect0
50ms396kbIncorect0
60ms384kbIncorect0
74ms368kbIncorect0
80ms424kbIncorect0
90ms404kbIncorect0
100ms392kbIncorect0
Punctaj total0

Ceva nu functioneaza?