Borderou de evaluare (job #3188895)
Utilizator | Data | 3 ianuarie 2024 23:30:25 | |
---|---|---|---|
Problema | Rays | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int sweep(std::vector<interv>&)':
main.cpp:21:5: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
21 | sort(v.begin(),v.end(),[](interv a,interv b){return a.st<b.st;});
| ^~~~
| sqrt
main.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<interv>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 1; i<v.size();i++)
| ~^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !