Borderou de evaluare (job #3172124)
Utilizator | Data | 20 noiembrie 2023 00:58:47 | |
---|---|---|---|
Problema | Trilant | 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:73:25: error: 'INFINITY' was not declared in this scope; did you mean 'INFINIT'?
73 | long long minCost = INFINITY;
| ^~~~~~~~
| INFINIT
main.cpp:109:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | for (int j = 0; j < chain.size(); ++j) {
| ~~^~~~~~~~~~~~~~
main.cpp:92:28: warning: unused variable 'distance' [-Wunused-variable]
92 | vector<long long>& distance = (i == 0) ? distanceA : ((i == 1) ? distanceB : distanceC);
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !