Borderou de evaluare (job #3185253)
Utilizator | Data | 18 decembrie 2023 17:04:05 | |
---|---|---|---|
Problema | Ghizi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool Graph::BFS(int, int, std::vector<int>&)':
main.cpp:30:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int ind = 0; ind < graph[u].size(); ind++) {
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:80:36: error: variable 'std::istringstream iss' has initializer but incomplete type
80 | std::istringstream iss(line);
| ^
main.cpp:94:36: error: variable 'std::istringstream iss' has initializer but incomplete type
94 | std::istringstream iss(line);
| ^
main.cpp:114:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for (int i = 0; i < sol.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:87:9: warning: unused variable 'k' [-Wunused-variable]
87 | int k = aux[1];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !