Borderou de evaluare (job #1487200)
Utilizator | Data | 16 septembrie 2015 14:19:13 | |
---|---|---|---|
Problema | Reuniune | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘J’:
user.c:15:74: error: ‘r2’ undeclared (first use in this function)
int J(D b,D c) { return b.d.x>=c.c.x&&b.c.x<=c.d.x&&b.d.y<=c.c.y&&b.c.y>=r2.d.y; }
^
user.c:15:74: note: each undeclared identifier is reported only once for each function it appears in
user.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]
int J(D b,D c) { return b.d.x>=c.c.x&&b.c.x<=c.d.x&&b.d.y<=c.c.y&&b.c.y>=r2.d.y; }
^
user.c: In function ‘main’:
user.c:17:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.in","r",stdin),freopen("reuniune.out","w",stdout);
^
user.c:17:42: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.in","r",stdin),freopen("reuniune.out","w",stdout);
^
user.c:19:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld",&a[i].x,&a[i].y,&b[i].x,&b[i].y),r[i].c.x=a[i].x,r[i].c.y=b[i].y,r[i].d.x=b[i].x,r[i].d.y=a[i].y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !