Borderou de evaluare (job #1472440)
Utilizator | Data | 17 august 2015 07:01:18 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:18:21: error: subscripted value is neither array nor pointer nor vector
if(!c[k][n]||!b[k])
^
user.c:4:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in","r",stdin),freopen("maxflow.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:4:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in","r",stdin),freopen("maxflow.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:4:73: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in","r",stdin),freopen("maxflow.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:6:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&i,&j,&l),g[i][w[i]++]=j,g[j][w[j]++]=i,e[i][j]+=l;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !