Borderou de evaluare (job #2755470)
Utilizator | Data | 27 mai 2021 13:28:13 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main(int, char**)':
main.cpp:142:95: error: 'sort' was not declared in this scope
sort(puncte.begin(), puncte.end(), [](punct p1, punct p2) {return p1.lungime < p2.lungime; });
^
main.cpp:147:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < puncte.size(); i++)
~~^~~~~~~~~~~~~~~
main.cpp:153:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (LMAX < puncte.size() - i)
~~~~~^~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !