Borderou de evaluare (job #3321559)
| Utilizator | Data | 10 noiembrie 2025 09:08:58 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
14 | for(int i=0;i<m;i++){
| ~^~
main.cpp:24:10: error: 'st' was not declared in this scope; did you mean 'std'?
24 | dist[st] = 0;
| ^~
| std
main.cpp:28:14: warning: comparison of integer expressions of different signedness: 'std::tuple_element<0, std::pair<int, int> >::type' {aka 'int'} and '__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'long long unsigned int'} [-Wsign-compare]
28 | if(d > dist[node]) continue;
main.cpp:36:13: error: 'fn' was not declared in this scope; did you mean 'n'?
36 | if(dist[fn] == ULLONG_MAX){
| ^~
| n
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
