Borderou de evaluare (job #3246501)
Utilizator | Data | 3 octombrie 2024 14:33:07 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | 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:32:10: error: 'cin' is not a member of 'std'
32 | std::cin >> n >> m >> s;
| ^~~
main.cpp:5:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
4 | #include <fstream>
+++ |+#include <iostream>
5 |
main.cpp:35:14: error: 'cin' is not a member of 'std'
35 | std::cin >> x >> y;
| ^~~
main.cpp:35:14: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:43:14: error: 'cout' is not a member of 'std'
43 | std::cout << dist[i] << ' ';
| ^~~~
main.cpp:43:14: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !