Borderou de evaluare (job #1340977)

Utilizator andi12Draghici Andrei andi12 Data 12 februarie 2015 11:22:11
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:75:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in,"%d%d",&n,&m); ^ user.cpp:75:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:76:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in,"%d%d%d%d",&xp1,&yp1,&xp2,&yp2); ^ user.cpp:76:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:79:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in,"%d",&mat[i][j]); ^ user.cpp:74:9: warning: unused variable ‘x’ [-Wunused-variable] int x,y,xp2,yp2,i,j; ^ user.cpp:74:11: warning: unused variable ‘y’ [-Wunused-variable] int x,y,xp2,yp2,i,j; ^ user.cpp:75:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&n,&m); ^ user.cpp:76:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&xp1,&yp1,&xp2,&yp2); ^ user.cpp:79:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8440kbKilled by signal 11(SIGSEGV).0
24ms4232kbKilled by signal 11(SIGSEGV).0
34ms4228kbKilled by signal 11(SIGSEGV).0
44ms4232kbKilled by signal 11(SIGSEGV).0
54ms4232kbKilled by signal 11(SIGSEGV).0
64ms4228kbKilled by signal 11(SIGSEGV).0
74ms4232kbKilled by signal 11(SIGSEGV).0
84ms4232kbKilled by signal 11(SIGSEGV).0
94ms4232kbKilled by signal 11(SIGSEGV).0
104ms4228kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?