Borderou de evaluare (job #2788837)
Utilizator | Data | 26 octombrie 2021 15:38:33 | |
---|---|---|---|
Problema | Geometry | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:5: error: 'z' was not declared in this scope
10 | L S(z p,z q,z r)
| ^
main.cpp:10:9: error: 'z' was not declared in this scope
10 | L S(z p,z q,z r)
| ^
main.cpp:10:13: error: 'z' was not declared in this scope
10 | L S(z p,z q,z r)
| ^
main.cpp:10:16: error: expression list treated as compound expression in initializer [-fpermissive]
10 | L S(z p,z q,z r)
| ^
main.cpp: In function 'int main()':
main.cpp:20:32: error: 'S' cannot be used as a function
20 | if(S(a[i],a[j],b[i])*S(a[i],b[j],b[i])<=0&&S(b[j],a[i],a[j])*S(b[j],b[i],a[j])<=0&&!(a[i].x*b[i].y==a[i].y*b[i].x&&a[i].x*a[j].y==a[i].y*a[j].x))
| ^
main.cpp:20:50: error: 'S' cannot be used as a function
20 | if(S(a[i],a[j],b[i])*S(a[i],b[j],b[i])<=0&&S(b[j],a[i],a[j])*S(b[j],b[i],a[j])<=0&&!(a[i].x*b[i].y==a[i].y*b[i].x&&a[i].x*a[j].y==a[i].y*a[j].x))
| ^
main.cpp:20:72: error: 'S' cannot be used as a function
20 | if(S(a[i],a[j],b[i])*S(a[i],b[j],b[i])<=0&&S(b[j],a[i],a[j])*S(b[j],b[i],a[j])<=0&&!(a[i].x*b[i].y==a[i].y*b[i].x&&a[i].x*a[j].y==a[i].y*a[j].x))
| ^
main.cpp:20:90: error: 'S' cannot be used as a function
20 | if(S(a[i],a[j],b[i])*S(a[i],b[j],b[i])<=0&&S(b[j],a[i],a[j])*S(b[j],b[i],a[j])<=0&&!(a[i].x*b[i].y==a[i].y*b[i].x&&a[i].x*a[j].y==a[i].y*a[j].x))
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !