Borderou de evaluare (job #3159126)
Utilizator | Data | 20 octombrie 2023 19:02:34 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void fun()':
main.cpp:54:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i=2;i<V.size();i++)
| ~^~~~~~~~~
main.cpp:52:7: warning: variable 'aux' set but not used [-Wunused-but-set-variable]
52 | point aux=V[0];//de unde plec gen
| ^~~
main.cpp: In function 'int main()':
main.cpp:91:5: error: 'cout' was not declared in this scope
91 | cout<<S.size()-1+S2.size()-1<<'\n';
| ^~~~
main.cpp:6:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
5 | #include <fstream>
+++ |+#include <iostream>
6 |
main.cpp:96:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for(int i=0;i<=S2.size()-2;i++)
| ~^~~~~~~~~~~~~
main.cpp: In function 'orientare calcOrientare(point, point, point)':
main.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !