Borderou de evaluare (job #2103698)

Utilizator hiticas_abelhiticasabel hiticas_abel Data 10 ianuarie 2018 17:53:54
Problema Triang Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:13:1: error: unknown type name ‘pct’ pct v[Nmax], tmp; ^ user.c: In function ‘fc’: user.c:17:8: error: ‘pct’ undeclared (first use in this function) if((*(pct*)aa).x-(*(pct*)bb).x>err) ^ user.c:17:8: note: each undeclared identifier is reported only once for each function it appears in user.c:17:12: error: expected expression before ‘)’ token if((*(pct*)aa).x-(*(pct*)bb).x>err) ^ user.c:17:26: error: expected expression before ‘)’ token if((*(pct*)aa).x-(*(pct*)bb).x>err) ^ user.c:19:12: error: expected expression before ‘)’ token if((*(pct*)bb).x-(*(pct*)aa).x>err) ^ user.c:19:26: error: expected expression before ‘)’ token if((*(pct*)bb).x-(*(pct*)aa).x>err) ^ user.c:21:12: error: expected expression before ‘)’ token if((*(pct*)aa).y-(*(pct*)bb).y>err) ^ user.c:21:26: error: expected expression before ‘)’ token if((*(pct*)aa).y-(*(pct*)bb).y>err) ^ user.c:23:12: error: expected expression before ‘)’ token if((*(pct*)bb).y-(*(pct*)aa).y>err) ^ user.c:23:26: error: expected expression before ‘)’ token if((*(pct*)bb).y-(*(pct*)aa).y>err) ^ user.c: In function ‘main’: user.c:41:31: error: request for member ‘x’ in something not a structure or union scanf("%lf %lf", &v[i].x, &v[i].y); ^ user.c:41:40: error: request for member ‘y’ in something not a structure or union scanf("%lf %lf", &v[i].x, &v[i].y); ^ user.c:48:6: error: request for member ‘x’ in something not a structure or union tmp.x=(v[j].x-v[i].x)*cos60-(v[j].y-v[i].y)*sin60+v[i].x; ^ user.c:48:14: error: request for member ‘x’ in something not a structure or union tmp.x=(v[j].x-v[i].x)*cos60-(v[j].y-v[i].y)*sin60+v[i].x; ^ user.c:48:21: error: request for member ‘x’ in something not a structure or union tmp.x=(v[j].x-v[i].x)*cos60-(v[j].y-v[i].y)*sin60+v[i].x; ^ user.c:48:36: error: request for member ‘y’ in something not a structure or union tmp.x=(v[j].x-v[i].x)*cos60-(v[j].y-v[i].y)*sin60+v[i].x;

Ceva nu functioneaza?