Pagini recente » Borderou de evaluare (job #3023736) | Borderou de evaluare (job #2344012) | Cod sursa (job #893405) | Borderou de evaluare (job #1290693) | Borderou de evaluare (job #1472555)
Borderou de evaluare (job #1472555)
Raport evaluator
Compilare:
user.c: In function ‘M’:
user.c:34: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:36: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:36: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:36: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:38:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&i,&j,&k),P(g[i],j,k),P(g[j],i,k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Cost incorect | 0 |
| 2 | 0ms | 288kb | Cost incorect | 0 |
| 3 | 0ms | 292kb | Cost incorect | 0 |
| 4 | 0ms | 284kb | Cost incorect | 0 |
| 5 | 0ms | 284kb | Cost incorect | 0 |
| 6 | 72ms | 640kb | Cost incorect | 0 |
| 7 | 112ms | 1600kb | Cost incorect | 0 |
| 8 | 24ms | 452kb | Cost incorect | 0 |
| 9 | 32ms | 324kb | Cost incorect | 0 |
| 10 | 104ms | 1128kb | Cost incorect | 0 |
| Punctaj total | 0 |