Borderou de evaluare (job #613651)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Combinări (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 nov. 2021 19:13:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void print()':
main.cpp:9:9: error: 'cout' was not declared in this scope
9 | cout<<a[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 |
main.cpp:10:5: error: 'cout' was not declared in this scope
10 | cout<<'\n';
| ^~~~
main.cpp:10:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?