Borderou de evaluare (job #1474870)
| Utilizator | Data | 23 august 2015 06:06:23 | |
|---|---|---|---|
| Problema | Joc | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:13: error: ‘s’ undeclared (first use in this function)
s=a[1][1];
^
user.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
user.c:13:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
t=s,k=i,l=j;
^
user.c:13:16: warning: value computed is not used [-Wunused-value]
user.c:4:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc.in","r",stdin),freopen("joc.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:4:37: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc.in","r",stdin),freopen("joc.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:4:65: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc.in","r",stdin),freopen("joc.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:7:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]),y=a[i][j-1]>a[i-1][j]?a[i][j-1]:a[i-1][j],e=a[i][j]-y,a[i][j]=y>e?y:e;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
