Borderou de evaluare (job #2946005)
Utilizator | Data | 24 noiembrie 2022 14:16:20 | |
---|---|---|---|
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 main()':
main.cpp:35:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
35 | sort(V.begin(), V.end(), [&](myStruct a, myStruct b){return a.val < b.val;});
| ^~~~
| qsort
main.cpp:41:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<myStruct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int j = 0; j < V.size(); j++){
| ~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !