Borderou de evaluare (job #2939166)
Utilizator | Data | 13 noiembrie 2022 10:19:35 | |
---|---|---|---|
Problema | Submultimi | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Back(int)':
main.cpp:16:17: error: 'cout' was not declared in this scope
16 | cout << st[j] << " ";
| ^~~~
main.cpp:3:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <algorithm>
+++ |+#include <iostream>
3 | using namespace std;
main.cpp:17:13: error: 'cout' was not declared in this scope
17 | cout << "\n";
| ^~~~
main.cpp:17:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp: In function 'int main()':
main.cpp:25:5: error: 'cin' was not declared in this scope
25 | cin >> n;
| ^~~
main.cpp:25:5: note: 'std::cin' 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 !