Borderou de evaluare (job #1377164)

Utilizator transparentulAlexandra Alexiu transparentul Data 5 martie 2015 20:28:29
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 21

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:20:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%c%c",&y,&z,&c); ^ user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",maxgrad); ^ user.cpp:41:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&x); ^ user.cpp:44:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:46:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%c%c",&y,&z,&c); ^ user.cpp:56:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d D\n%d D",dreapta+d[i],dreapta); ^ user.cpp:56:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:59:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d D",dreapta-2*(dreapta),dreapta+d[i]); ^ user.cpp:59:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:61:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d S",dreapta-2*(dreapta),dreapta+d[i]-2*(dreapta+d[i])); ^ user.cpp:61:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d S",stanga+s[i],stanga); ^ user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d D",stanga+s[i],stanga-2*stanga); ^ user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d D\n%d D",stanga-2*stanga,stanga+s[i]-2*(stanga+s[i])); ^ user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:20:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%c%c",&y,&z,&c); ^ user.cpp:41:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms1048kbRaspuns gresit0
20ms260kbPrimul numar corect1
352ms1036kbRaspuns gresit0
452ms1044kbRaspuns gresit0
50ms260kbPrimul numar corect1
60ms264kbOK5
70ms264kbPrimul numar corect1
80ms260kbPrimul numar corect1
912ms572kbPrimul numar corect1
1016ms652kbPrimul numar corect1
110ms280kbPrimul numar corect1
1240ms896kbPrimul numar corect1
1328ms872kbPrimul numar corect1
140ms272kbPrimul numar corect1
150ms264kbPrimul numar corect1
160ms264kbPrimul numar corect1
1744ms1044kbPrimul numar corect1
1868ms1036kbPrimul numar corect1
1932ms908kbPrimul numar corect1
200ms260kbPrimul numar corect1
Punctaj total21

Ceva nu functioneaza?