Borderou de evaluare (job #1472642)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 17 august 2015 14:51:12
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘M’: user.c:30:58: warning: operation on ‘h[l]’ may be undefined [-Wsequence-point] void M(int l,int k) { for(d[h[l]]=k;l>1&&d[h[l/2]]>k;h[l]^=h[l/2]^=h[l]^=h[l/2],w[h[l]]=l,w[h[l/2]]=l/2,l/=2); } ^ user.c: In function ‘main’: user.c:32:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.in","r",stdin),freopen("apm.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:32:37: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.in","r",stdin),freopen("apm.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:32:65: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.in","r",stdin),freopen("apm.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:34:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&i,&j,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit264kbTime limit exceeded.0
20ms284kbCost incorect0
3Depăşit268kbTime limit exceeded.0
4Depăşit264kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit612kbTime limit exceeded.0
7136ms1928kbCost incorect0
8Depăşit424kbTime limit exceeded.0
9Depăşit300kbTime limit exceeded.0
10128ms1328kbCost incorect0
Punctaj total0

Ceva nu functioneaza?