Borderou de evaluare (job #2139135)

Utilizator bodea.georgianaBodea Georgiana bodea.georgiana Data 22 februarie 2018 09:49:57
Problema Colaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&p); ^ user.cpp:68:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d %d",&m,&n); ^ user.cpp:68:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d %d %d %d",&v[i].x1,&v[i].y1,&v[i].x2,&v[i].y2); ^ user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:64:21: warning: unused variable ‘l1’ [-Wunused-variable] short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0; ^ user.cpp:64:24: warning: unused variable ‘c1’ [-Wunused-variable] short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0; ^ user.cpp:64:27: warning: unused variable ‘l2’ [-Wunused-variable] short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0; ^ user.cpp:64:30: warning: unused variable ‘c2’ [-Wunused-variable] short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0; ^ user.cpp:67:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&p); ^ user.cpp:68:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&m,&n); ^ user.cpp:71:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d %d",&v[i].x1,&v[i].y1,&v[i].x2,&v[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms828kbKilled by signal 6(SIGABRT).0
20ms824kbKilled by signal 6(SIGABRT).0
30ms864kbKilled by signal 6(SIGABRT).0
40ms828kbKilled by signal 6(SIGABRT).0
50ms824kbKilled by signal 6(SIGABRT).0
60ms824kbKilled by signal 6(SIGABRT).0
70ms824kbKilled by signal 6(SIGABRT).0
80ms828kbKilled by signal 6(SIGABRT).0
90ms828kbKilled by signal 6(SIGABRT).0
100ms824kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?