Borderou de evaluare (job #766640)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Permutări | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 6 mar. 2024 09:07:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void rec(int)':
main.cpp:15:21: error: 'cout' was not declared in this scope
15 | cout<<v[i]<<" ";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:17:17: error: 'cout' was not declared in this scope
17 | cout<<'\n';
| ^~~~
main.cpp:17:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?