Borderou de evaluare (job #2930715)
Utilizator | Data | 29 octombrie 2022 13:30:02 | |
---|---|---|---|
Problema | Qmatrix | 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:53:9: error: 'sort' was not declared in this scope; did you mean 'qsort'?
53 | sort(h[i].begin(), h[i].end(), comp);
| ^~~~
| qsort
main.cpp:62:29: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<short int, short int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | if (g[p].size() >= k)
| ~~~~~~~~~~~~^~~~
main.cpp:68:29: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<short int, short int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
68 | if (h[p].size() >= k)
| ~~~~~~~~~~~~^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !