Borderou de evaluare (job #2976806)
Utilizator | Data | 10 februarie 2023 04:13:44 | |
---|---|---|---|
Problema | Bibel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve(std::vector<std::pair<int, int> >&, std::pair<int, int>, int, std::vector<int>&)':
main.cpp:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
main.cpp:26:14: error: 'next_permutation' was not declared in this scope
26 | } while (next_permutation(p.begin(), p.end()));
| ^~~~~~~~~~~~~~~~
main.cpp:13:9: warning: unused variable 'best' [-Wunused-variable]
13 | int best = 2000000000;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:47:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 0; i < prevLevel.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !