Borderou de evaluare (job #1409759)

Utilizator Emil64Emil Centiu Emil64 Data 30 martie 2015 18:19:55
Problema Spider Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int poz(int, int, int)’: user.cpp:9:14: warning: unused variable ‘i’ [-Wunused-variable] long int i,j,poz=-1,min; ^ user.cpp:9:16: warning: unused variable ‘j’ [-Wunused-variable] long int i,j,poz=-1,min; ^ user.cpp: In function ‘int main()’: user.cpp:51:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &m[i][j]); ^ user.cpp:118:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d %d\n", l, c); ^ user.cpp:118:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:141:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d %d\n", l, c); ^ user.cpp:141:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:46:22: warning: unused variable ‘lg’ [-Wunused-variable] long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c; ^ user.cpp:46:25: warning: unused variable ‘lm’ [-Wunused-variable] long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c; ^ user.cpp:46:41: warning: unused variable ‘vp’ [-Wunused-variable] long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c; ^ user.cpp:46:44: warning: variable ‘ci’ set but not used [-Wunused-but-set-variable] long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c; ^ user.cpp:46:47: warning: variable ‘li’ set but not used [-Wunused-but-set-variable] long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c; ^ user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("19-spider.in", "r", stdin); ^ user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spider.out", "w", stdout); ^ user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &nl, &nc); ^ user.cpp:51:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m[i][j]); ^ user.cpp:112:20: warning: ‘cmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret=poz(l,c,vo); ^ user.cpp:112:20: warning: ‘lmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms232kbKilled by signal 11(SIGSEGV).0
30ms228kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms228kbKilled by signal 11(SIGSEGV).0
60ms228kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms228kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
110ms236kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms232kbKilled by signal 11(SIGSEGV).0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms228kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).0
180ms236kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?