Borderou de evaluare (job #2784541)
Utilizator | Data | 16 octombrie 2021 17:57:06 | |
---|---|---|---|
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:18:5: error: 'cin' was not declared in this scope
18 | cin >> N >> M >> src;
| ^~~
main.cpp:5:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
4 | #include <cstring>
+++ |+#include <iostream>
5 | using namespace std;
main.cpp:47:9: error: 'cout' was not declared in this scope
47 | cout << dist[i] << ' ';
| ^~~~
main.cpp:47:9: 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 !