Borderou de evaluare (job #3270247)
Utilizator | Data | 22 ianuarie 2025 18:26:57 | |
---|---|---|---|
Problema | Gradina | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool e_convex(std::vector<punct>&)':
main.cpp:37:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int i = 2; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:13: error: 'sort' was not declared in this scope; did you mean 'short'?
63 | sort(st.begin(), st.end(), cmp);
| ^~~~
| short
main.cpp:79:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(int k = 0; k + 1 < st.size(); k++){
| ~~~~~~^~~~~~~~~~~
main.cpp:85:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for(int k = 0; k + 1 < dr.size(); k++){
| ~~~~~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !