Borderou de evaluare (job #1659523)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 22 martie 2016 12:05:13
Problema Casa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61: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:61:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:66: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:82: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:82:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:98: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:101: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:104: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:107: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:119:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fs(f,"%ld",&nr); ^ user.cpp:124: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:145: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:145:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:57: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:61: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:66: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:119: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:124: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms304kbOK10
38ms364kbOK10
456ms852kbOK10
536ms768kbOK10
648ms760kbOK10
74ms296kbIncorect0
816ms656kbOK10
940ms716kbIncorect0
1032ms692kbOK10
Punctaj total80

Ceva nu functioneaza?