Borderou de evaluare (job #2876207)
Utilizator | Data | 23 martie 2022 09:53:46 | |
---|---|---|---|
Problema | Trapez | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:52:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<DREAPTA>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for ( i = 1; i < drepte.size(); i++ ) {
| ~~^~~~~~~~~~~~~~~
main.cpp:54:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<DREAPTA>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | while ( j < drepte.size() && fabs( drepte[i].panta - drepte[j].panta ) <= EPS )
| ~~^~~~~~~~~~~~~~~
main.cpp:54:38: error: 'fabs' was not declared in this scope; did you mean 'labs'?
54 | while ( j < drepte.size() && fabs( drepte[i].panta - drepte[j].panta ) <= EPS )
| ^~~~
| labs
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !