Borderou de evaluare (job #1257263)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 7 noiembrie 2014 15:33:14
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:21:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d %d %d %d",&start.x,&start.y,&stop.x,&stop.y); ^ user.cpp:21:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:21:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:21:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d",&n,&m); ^ user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d",&x,&y); ^ user.cpp:21:63: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d %d %d",&start.x,&start.y,&stop.x,&stop.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms276kbIncorect0
30ms372kbIncorect0
40ms284kbIncorect0
50ms300kbIncorect0
60ms320kbIncorect0
78ms424kbKilled by signal 11(SIGSEGV).0
84ms384kbKilled by signal 11(SIGSEGV).0
90ms328kbIncorect0
100ms292kbIncorect0
Punctaj total0

Ceva nu functioneaza?