Borderou de evaluare (job #2505221)
Utilizator | Data | 6 decembrie 2019 15:54:52 | |
---|---|---|---|
Problema | Elicoptere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:27: error: 'triunghi' has not been declared
double distancex(punct p, triunghi t) {
^~~~~~~~
main.cpp: In function 'double distancex(punct, int)':
main.cpp:20:10: error: request for member 'x2' in 't', which is of non-class type 'int'
m=(t.x2-t.x1)/(t.y2-t.y1);
^~
main.cpp:20:15: error: request for member 'x1' in 't', which is of non-class type 'int'
m=(t.x2-t.x1)/(t.y2-t.y1);
^~
main.cpp:20:22: error: request for member 'y2' in 't', which is of non-class type 'int'
m=(t.x2-t.x1)/(t.y2-t.y1);
^~
main.cpp:20:27: error: request for member 'y1' in 't', which is of non-class type 'int'
m=(t.x2-t.x1)/(t.y2-t.y1);
^~
main.cpp:21:16: error: request for member 'y1' in 't', which is of non-class type 'int'
x=m*(p.y-t.y1)+t.x1;
^~
main.cpp:21:22: error: request for member 'x1' in 't', which is of non-class type 'int'
x=m*(p.y-t.y1)+t.x1;
^~
main.cpp:24:10: error: request for member 'x3' in 't', which is of non-class type 'int'
m=(t.x3-t.x1)/(t.y3-t.y1);
^~
main.cpp:24:15: error: request for member 'x1' in 't', which is of non-class type 'int'
m=(t.x3-t.x1)/(t.y3-t.y1);
^~
main.cpp:24:22: error: request for member 'y3' in 't', which is of non-class type 'int'
m=(t.x3-t.x1)/(t.y3-t.y1);
^~
main.cpp:24:27: error: request for member 'y1' in 't', which is of non-class type 'int'
m=(t.x3-t.x1)/(t.y3-t.y1);
^~
main.cpp:25:16: error: request for member 'y1' in 't', which is of non-class type 'int'
x=m*(p.y-t.y1)+t.x1;
^~
main.cpp:25:22: error: request for member 'x1' in 't', which is of non-class type 'int'
x=m*(p.y-t.y1)+t.x1;
^~
main.cpp:29:10: error: request for member 'x2' in 't', which is of non-class type 'int'
m=(t.x2-t.x3)/(t.y2-t.y3);
^~
main.cpp:29:15: error: request for member 'x3' in 't', which is of non-class type 'int'
m=(t.x2-t.x3)/(t.y2-t.y3);
^~
main.cpp:29:22: error: request for member 'y2' in 't', which is of non-class type 'int'
m=(t.x2-t.x3)/(t.y2-t.y3);
^~
main.cpp:29:27: error: request for member 'y3' in 't', which is of non-class type 'int'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !