Borderou de evaluare (job #1605706)

Utilizator IulianBogIulian Bogdanovici IulianBog Data 19 februarie 2016 13:38:09
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:1: error: expected ‘;’ after struct definition } ^ user.cpp: In function ‘bool cmp(point, point)’: user.cpp:30:35: error: could not convert ‘ll’ from ‘int’ to ‘point’ double d1,d2;int ccv=ccw(ll,p1,p2); ^ user.cpp:31:15: error: could not convert ‘ll’ from ‘int’ to ‘point’ d1=dist(ll,p1); ^ user.cpp:32:15: error: could not convert ‘ll’ from ‘int’ to ‘point’ d2=dist(ll,p2); ^ user.cpp: In function ‘int main()’: user.cpp:50:22: warning: too many arguments for format [-Wformat-extra-args] scanf("%lf",&x,&y); ^ user.cpp:53:27: error: request for member ‘x’ in ‘p[i]’, which is of non-class type ‘int’ scanf("%lf%lf",&p[i].x,&p[i].y); ^ user.cpp:53:35: error: request for member ‘y’ in ‘p[i]’, which is of non-class type ‘int’ scanf("%lf%lf",&p[i].x,&p[i].y); ^ user.cpp:54:14: error: request for member ‘y’ in ‘p[i]’, which is of non-class type ‘int’ if(p[i].y-p[1].y<=-eps) ^ user.cpp:54:21: error: request for member ‘y’ in ‘p[1]’, which is of non-class type ‘int’ if(p[i].y-p[1].y<=-eps) ^ user.cpp:56:16: error: request for member ‘y’ in ‘p[i]’, which is of non-class type ‘int’ if(fabs(p[i].y-p[1].y)<eps) ^ user.cpp:56:23: error: request for member ‘y’ in ‘p[1]’, which is of non-class type ‘int’ if(fabs(p[i].y-p[1].y)<eps) ^ user.cpp:57:12: error: request for member ‘x’ in ‘p[i]’, which is of non-class type ‘int’ if(p[i].x-p[1].x<=-eps) ^ user.cpp:57:19: error: request for member ‘x’ in ‘p[1]’, which is of non-class type ‘int’ if(p[i].x-p[1].x<=-eps) ^ user.cpp:60:8: error: request for member ‘x’ in ‘ll’, which is of non-class type ‘int’ ll.x=p[1].x; ^ user.cpp:60:15: error: request for member ‘x’ in ‘p[1]’, which is of non-class type ‘int’ ll.x=p[1].x; ^ user.cpp:61:8: error: request for member ‘y’ in ‘ll’, which is of non-class type ‘int’ ll.y=p[1].y; ^

Ceva nu functioneaza?