Borderou de evaluare (job #1657140)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 20 martie 2016 10:37:59
Problema Casa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fs(f,"%ld%ld",&n,&m); ^ user.cpp:63:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:68:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fs(f,"%ld",&v[i][j]); ^ user.cpp:84:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld %ld\n",nr,y+1); ^ user.cpp:84:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:100:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld E\n",c.front().nr); ^ user.cpp:103:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld N\n",c.front().nr); ^ user.cpp:106:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld S\n",c.front().nr); ^ user.cpp:109:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld V\n",c.front().nr); ^ user.cpp:120:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fs(f,"%ld",&nr); ^ user.cpp:125:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fs(f,"%ld %c",&x,&c); ^ user.cpp:146:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fp(g,"%ld %ld\n",n,m); ^ user.cpp:146:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:59:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%d",&p); ^ user.cpp:63:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%ld%ld",&n,&m); ^ user.cpp:68:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%ld",&v[i][j]); ^ user.cpp:120:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%ld",&nr); ^ user.cpp:125:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%ld %c",&x,&c); ^ user.cpp:83:18: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms456kbIncorect0
38ms524kbOK10
456ms1012kbOK10
536ms924kbOK10
648ms908kbOK10
74ms452kbIncorect0
816ms808kbIncorect0
940ms864kbIncorect0
1032ms848kbIncorect0
Punctaj total50

Ceva nu functioneaza?