Borderou de evaluare (job #1734243)

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

Raport evaluator

Compilare: user.c:2:1: warning: data definition has no type or storage class [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:1: warning: type defaults to ‘int’ in declaration of ‘a’ [enabled by default] user.c:2:10: warning: type defaults to ‘int’ in declaration of ‘n’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:12: warning: type defaults to ‘int’ in declaration of ‘m’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:14: warning: type defaults to ‘int’ in declaration of ‘k’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:16: warning: type defaults to ‘int’ in declaration of ‘i’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:18: warning: type defaults to ‘int’ in declaration of ‘q’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:20: warning: type defaults to ‘int’ in declaration of ‘t’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:22: warning: type defaults to ‘int’ in declaration of ‘v’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:2:24: warning: type defaults to ‘int’ in declaration of ‘s’ [enabled by default] a[15001],n,m,k,i,q,t,v,s; ^ user.c:3: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:3:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] main(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout); ^ user.c:3:47: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] main(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout); ^ user.c:4:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.c:5:23: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++)scanf("%d",a+i); ^ user.c:7:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.c:9:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&t,&v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit312kbTime limit exceeded.0
2Depăşit316kbTime limit exceeded.0
3Depăşit320kbTime limit exceeded.0
4Depăşit320kbTime limit exceeded.0
5Depăşit320kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?