Borderou de evaluare (job #1725849)

Utilizator Sergiu1256Ionita Sergiu1256 Data 6 iulie 2016 16:25:01
Problema Patrate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bb(coord&, coord&, int)’: user.cpp:18:17: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ if (a.x > v.x) ^ user.cpp:19:17: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ a.x = v.x; ^ user.cpp:20:17: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ if (b.x < v.x) ^ user.cpp:21:17: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ b.x = v.x; ^ user.cpp:22:17: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ if (a.y > v.y) ^ user.cpp:23:17: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ a.y = v.y; ^ user.cpp:24:17: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ if (b.y < v.y) ^ user.cpp:25:17: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ b.y = v.y; ^ user.cpp: In function ‘void read()’: user.cpp:36:31: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ scanf("%u %u", &v.x, &v.y); ^ user.cpp:36:37: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ scanf("%u %u", &v.x, &v.y); ^ user.cpp: In function ‘bool ok(int, int, int, int, int)’: user.cpp:44:15: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ return (v.x >= a && v.x <= c && v.y >= b && v.y <= d); ^ user.cpp:44:27: error: request for member ‘x’ in ‘v’, which is of non-class type ‘coord [50010]’ return (v.x >= a && v.x <= c && v.y >= b && v.y <= d); ^ user.cpp:44:39: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ return (v.x >= a && v.x <= c && v.y >= b && v.y <= d); ^ user.cpp:44:51: error: request for member ‘y’ in ‘v’, which is of non-class type ‘coord [50010]’ return (v.x >= a && v.x <= c && v.y >= b && v.y <= d); ^ user.cpp: In function ‘bool Ok(int, int)’: user.cpp:80:18: warning: the address of ‘w’ will always evaluate as ‘true’ [-Waddress] if (!w) ^ user.cpp:83:18: error: incompatible types in assignment of ‘int’ to ‘bool [50010]’

Ceva nu functioneaza?