Pagini recente » Borderou de evaluare (job #2485181) | Borderou de evaluare (job #837839) | Borderou de evaluare (job #1768029) | Borderou de evaluare (job #2101918) | Borderou de evaluare (job #1472560)
Borderou de evaluare (job #1472560)
Raport evaluator
Compilare:
user.c: In function ‘M’:
user.c:40: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:42: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:42: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:42: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:44: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 | 292kb | Cost incorect | 0 |
| 3 | 0ms | 292kb | Cost incorect | 0 |
| 4 | 0ms | 292kb | Cost incorect | 0 |
| 5 | 0ms | 304kb | Cost incorect | 0 |
| 6 | 92ms | 4080kb | Cost incorect | 0 |
| 7 | 140ms | 6728kb | Cost incorect | 0 |
| 8 | 32ms | 1732kb | Cost incorect | 0 |
| 9 | 40ms | 2000kb | Cost incorect | 0 |
| 10 | 132ms | 6080kb | Cost incorect | 0 |
| Punctaj total | 0 |