Borderou de evaluare (job #1734271)

Utilizator mIllIbytemIllI byte mIllIbyte Data 26 iulie 2016 22:16:25
Problema Permutari Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.c:11:1: warning: return type defaults to ‘int’ [enabled by default] printmare(mare m){int i;if(!m.len)return 0;printf("%d",m.a[m.len-1]);for(i=m.len-1;i--;)printf(MAREPRINTFORMAT,m.a[i]);} ^ user.c:16:1: warning: return type defaults to ‘int’ [enabled by default] main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout); ^ user.c: In function ‘printmare’: user.c:11:1: warning: control reaches end of non-void function [-Wreturn-type] printmare(mare m){int i;if(!m.len)return 0;printf("%d",m.a[m.len-1]);for(i=m.len-1;i--;)printf(MAREPRINTFORMAT,m.a[i]);} ^ user.c: In function ‘main’: user.c:16:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout); ^ user.c:16:44: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout); ^ user.c:17:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k);mare tempm; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOk!10
20ms280kbOk!10
34ms300kbOk!10
420ms324kbOk!10
5Depăşit352kbTime limit exceeded.0
60ms264kbOk!10
74ms320kbOk!10
888ms356kbOk!10
94ms292kbOk!10
1084ms376kbOk!10
Punctaj total90

Ceva nu functioneaza?