Borderou de evaluare (job #1031960)

Utilizator Lucian-GeorgeFMI Popa Lucian George Lucian-George Data 15 noiembrie 2013 18:41:03
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>50000) 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
1Depăşit564kbTime limit exceeded.0
2Depăşit564kbTime limit exceeded.0
3Depăşit564kbTime limit exceeded.0
4Depăşit556kbTime limit exceeded.0
5Depăşit568kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?