Borderou de evaluare (job #1734264)

Utilizator mIllIbytemIllI byte mIllIbyte Data 26 iulie 2016 22:08:42
Problema Datorii Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:3:1: warning: data definition has no type or storage class [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:1: warning: type defaults to ‘int’ in declaration of ‘a’ [enabled by default] user.c:3:10: warning: type defaults to ‘int’ in declaration of ‘b’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:17: warning: type defaults to ‘int’ in declaration of ‘n’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:19: warning: type defaults to ‘int’ in declaration of ‘m’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:21: warning: type defaults to ‘int’ in declaration of ‘k’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:23: warning: type defaults to ‘int’ in declaration of ‘i’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:25: warning: type defaults to ‘int’ in declaration of ‘p’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:27: warning: type defaults to ‘int’ in declaration of ‘q’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:29: warning: type defaults to ‘int’ in declaration of ‘t’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:31: warning: type defaults to ‘int’ in declaration of ‘v’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:33: warning: type defaults to ‘int’ in declaration of ‘s’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:3:35: warning: type defaults to ‘int’ in declaration of ‘rad’ [enabled by default] a[15002],b[123],n,m,k,i,p,q,t,v,s,rad; ^ user.c:4:1: warning: return type defaults to ‘int’ [enabled by default] main(){//freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout); ^ user.c: In function ‘main’: user.c:5:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m);rad=sqrt(n); ^ user.c:6:24: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++){scanf("%d",a+i);b[i/rad]+=a[i];} ^ user.c:8:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms212kbLipsa fisier iesire0
20ms216kbLipsa fisier iesire0
30ms220kbLipsa fisier iesire0
40ms216kbLipsa fisier iesire0
50ms220kbLipsa fisier iesire0
Punctaj total0

Ceva nu functioneaza?