Borderou de evaluare (job #1288766)
Utilizator | Data | 9 decembrie 2014 02:23:26 | |
---|---|---|---|
Problema | Reuniune | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:25:1: error: unknown type name ‘DREPTUNGHI’
DREPTUNGHI comun(DREPTUNGHI d1, DREPTUNGHI d2)
^
user.c:25:18: error: unknown type name ‘DREPTUNGHI’
DREPTUNGHI comun(DREPTUNGHI d1, DREPTUNGHI d2)
^
user.c:25:33: error: unknown type name ‘DREPTUNGHI’
DREPTUNGHI comun(DREPTUNGHI d1, DREPTUNGHI d2)
^
user.c:37:21: error: unknown type name ‘DREPTUNGHI’
long long perimetru(DREPTUNGHI d1)
^
user.c:44:16: error: unknown type name ‘DREPTUNGHI’
long long arie(DREPTUNGHI d1)
^
user.c: In function ‘main’:
user.c:56:5: error: unknown type name ‘DREPTUNGHI’
DREPTUNGHI intd1d2, intd2d3, intd3d1, intd1d2d3;
^
user.c:58:5: warning: implicit declaration of function ‘comun’ [-Wimplicit-function-declaration]
intd1d2=comun(d1, d2);
^
user.c:62:5: warning: implicit declaration of function ‘arie’ [-Wimplicit-function-declaration]
a=(long long)arie(d1)+arie(d2)+arie(d3)-arie(intd1d2)-arie(intd3d1)-arie(intd2d3)+arie(intd1d2d3);
^
user.c:63:5: warning: implicit declaration of function ‘perimetru’ [-Wimplicit-function-declaration]
p=(long long)perimetru(d1)+perimetru(d2)+perimetru(d3)-perimetru(intd1d2)-perimetru(intd2d3)-perimetru(intd3d1)+perimetru(intd1d2d3);
^
user.c:53:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.in","r",stdin);
^
user.c:54:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.out","w",stdout);
^
user.c:55:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&d1.x0,&d1.y0,&d1.x1,&d1.y1,&d2.x0,&d2.y0,&d2.x1,&d2.y1,&d3.x0,&d3.y0,&d3.x1,&d3.y1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !