Borderou de evaluare (job #2791268)
Utilizator | Data | 30 octombrie 2021 12:08:22 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:26:54: error: 'gps' was not declared in this scope
26 | if (s < m && zid[s + 1].first > x && s > 0) {gps
| ^~~
main.cpp:28:46: error: expected primary-expression before ')' token
28 | v.push_back({zid[s].first + 1, 1});
| ^
main.cpp:78: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]
78 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !