Borderou de evaluare (job #2021030)
Utilizator | Data | 12 septembrie 2017 16:19:32 | |
---|---|---|---|
Problema | Arhipelag2 | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:6:5: warning: useless type name in empty declaration [enabled by default]
int ;
^
user.c:9:19: error: ‘n’ undeclared (first use in this function)
scanf("%d%d",&n,&m);
^
user.c:9:19: note: each undeclared identifier is reported only once for each function it appears in
user.c:9:22: error: ‘m’ undeclared (first use in this function)
scanf("%d%d",&n,&m);
^
user.c:10:9: error: ‘i’ undeclared (first use in this function)
for(i=1; i<=n; i++)
^
user.c:11:13: error: ‘j’ undeclared (first use in this function)
for(j=1; j<=m; j++)
^
user.c:20:28: warning: left-hand operand of comma expression has no effect [-Wunused-value]
lin[1]+=i-1,col[1]+=j-1;
^
user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipelag2.in","r",stdin);
^
user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipelag2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !