Borderou de evaluare (job #1031755)

Utilizator Lucian-GeorgeFMI Popa Lucian George Lucian-George Data 15 noiembrie 2013 18:22:05
Problema Dtcsu Status done
Runda FMI No Stress 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000]’ [-Wformat=] if (i>10000) fscanf(f,"%s",&a); ^ user.cpp:21:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&x); ^ user.cpp:28:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&q); ^ user.cpp:31:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&x); ^ user.cpp:42:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",rez); ^ user.cpp:10:7: warning: unused variable ‘n’ [-Wunused-variable] long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok; ^ user.cpp:10:26: warning: unused variable ‘c’ [-Wunused-variable] long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok; ^ user.cpp:10:28: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable] long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok; ^ user.cpp:10:35: warning: unused variable ‘j’ [-Wunused-variable] long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms416kbIncorect0
24ms408kbIncorect0
34ms412kbIncorect0
44ms412kbIncorect0
54ms416kbIncorect0
Punctaj total0

Ceva nu functioneaza?