Borderou de evaluare (job #3238005)
Utilizator | Data | 15 iulie 2024 10:02:37 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(long long int, long long int*)':
main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int i = 0; i < v[node].size(); ++ i){
| ~~^~~~~~~~~~~~~~~~
main.cpp:36:25: error: 'val' was not declared in this scope
36 | pq.push(val), ans[v[node][i]] = true, rez[v[node][i]] = rez[node] + 1;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !