Borderou de evaluare (job #2236482)

Utilizator mateicosCostescu Matei mateicos Data 29 august 2018 18:10:14
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘double dist(Point, int, int)’: user.cpp:10:23: error: request for member ‘x’ in ‘x2’, which is of non-class type ‘int’ return (x1.x - x2.x) * (x1.x - x2.x) + (x1.y - x2.y) * (x1.y - x2.y); ^ user.cpp:10:39: error: request for member ‘x’ in ‘x2’, which is of non-class type ‘int’ return (x1.x - x2.x) * (x1.x - x2.x) + (x1.y - x2.y) * (x1.y - x2.y); ^ user.cpp:10:55: error: request for member ‘y’ in ‘x2’, which is of non-class type ‘int’ return (x1.x - x2.x) * (x1.x - x2.x) + (x1.y - x2.y) * (x1.y - x2.y); ^ user.cpp:10:71: error: request for member ‘y’ in ‘x2’, which is of non-class type ‘int’ return (x1.x - x2.x) * (x1.x - x2.x) + (x1.y - x2.y) * (x1.y - x2.y); ^ user.cpp: At global scope: user.cpp:13:1: error: ‘Muchie’ does not name a type Muchie { ^~~~~~ user.cpp:16:2: error: ‘v’ does not name a type }v[3000], sol[1005]; ^ user.cpp:18:10: error: ‘Muchie’ was not declared in this scope bool cmp(Muchie a, Muchie b){ ^~~~~~ user.cpp:18:20: error: ‘Muchie’ was not declared in this scope bool cmp(Muchie a, Muchie b){ ^~~~~~ user.cpp:18:28: error: expression list treated as compound expression in initializer [-fpermissive] bool cmp(Muchie a, Muchie b){ ^ user.cpp: In function ‘int FindSet(int)’: user.cpp:23:16: error: ‘t’ was not declared in this scope while(x != t[x]){ ^ user.cpp: In function ‘void UnionSet(int, int)’: user.cpp:30:6: error: ‘h’ was not declared in this scope if(h[x] <= h[y]){ ^ user.cpp:33:5: error: ‘t’ was not declared in this scope t[x] = y; ^ user.cpp:36:5: error: ‘t’ was not declared in this scope t[y] = x; ^ user.cpp: In function ‘int main()’: user.cpp:41:30: error: ‘stdi’ was not declared in this scope freopen("desen.in", "r", stdi); ^~~~ user.cpp:47:22: error: ‘x’ was not declared in this scope scanf("%d%d", &x, &y); ^

Ceva nu functioneaza?