Borderou de evaluare (job #2881800)
Utilizator | Data | 30 martie 2022 21:17:19 | |
---|---|---|---|
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:144:16: error: variable 'std::ifstream in' has initializer but incomplete type
144 | ifstream in("dijkstra.in");
| ^
main.cpp:145:17: error: variable 'std::ofstream out' has initializer but incomplete type
145 | ofstream out("dijkstra.out");
| ^
main.cpp: In instantiation of 'void containrr::Graph<T, U>::init(long long unsigned int, bool) [with T = int; U = int]':
main.cpp:106:17: required from 'containrr::Graph<T, U>::Graph(long long unsigned int, bool) [with T = int; U = int]'
main.cpp:148:26: required from here
main.cpp:32:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
32 | for(int i=0;i<n;i++)
| ~^~
main.cpp:35:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
35 | for(int i=0;i<n;i++)
| ~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !