Borderou de evaluare (job #2942472)
Utilizator | Data | 19 noiembrie 2022 18:36:39 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int uneste(int, int)':
main.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
24 | }
| ^
main.cpp: In function 'int main()':
main.cpp:41:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
41 | sort(listaAd.begin(), listaAd.end(), [](vector<int> &a, vector<int> &b) {
| ^~~~
| qsort
main.cpp:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | while (index < listaAd.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~
main.cpp:70:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | while(ind < listaAd.size())
| ~~~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !