Borderou de evaluare (job #1340968)

Utilizator andi12Draghici Andrei andi12 Data 12 februarie 2015 11:13:55
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:73: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:73:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:77: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:72:9: warning: unused variable ‘x’ [-Wunused-variable] int x,y,xp1,yp1,xp2,yp2,i,j; ^ user.cpp:72:11: warning: unused variable ‘y’ [-Wunused-variable] int x,y,xp1,yp1,xp2,yp2,i,j; ^ user.cpp:73: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:74: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:77: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
14ms2260kbKilled by signal 11(SIGSEGV).0
24ms2260kbKilled by signal 11(SIGSEGV).0
34ms3116kbKilled by signal 11(SIGSEGV).0
48ms3956kbKilled by signal 11(SIGSEGV).0
54ms2200kbKilled by signal 11(SIGSEGV).0
68ms4484kbKilled by signal 11(SIGSEGV).0
78ms4476kbKilled by signal 11(SIGSEGV).0
84ms3100kbKilled by signal 11(SIGSEGV).0
98ms4480kbKilled by signal 11(SIGSEGV).0
108ms4484kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?