Borderou de evaluare (job #1043845)

Utilizator Lucian-GeorgeFMI Popa Lucian George Lucian-George Data 28 noiembrie 2013 23:19:30
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:42:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.cpp:48:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&a); ^ user.cpp:49:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&b); ^ user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d\n",suma); ^ user.cpp:34:10: warning: unused variable ‘x’ [-Wunused-variable] int i,o,x,m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1128ms600kbCorect!20
2132ms600kbCorect!20
3132ms600kbCorect!20
4132ms600kbCorect!20
5128ms600kbCorect!20
Punctaj total100

Ceva nu functioneaza?