Borderou de evaluare (job #3129988)
Utilizator | Data | 16 mai 2023 16:08:18 | |
---|---|---|---|
Problema | Sea | 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:32:5: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
32 | sort(s + 1, s + n + 1, cmp);
| ^~~~
| sqrt
main.cpp:38:26: warning: comparison of integer expressions of different signedness: 'std::priority_queue<double>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if (q.size() > l[i].f) q.pop();
| ~~~~~~~~~^~~~~~~~
main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'std::priority_queue<double>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if (q.size() < l[i].f) ans[i] = -1.0;
| ~~~~~~~~~^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !