Borderou de evaluare (job #616748)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ucif (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 nov. 2021 19:25:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:2: error: 'ofstram' was not declared in this scope
6 | ofstram cout("ucif.out");
| ^~~~~~~
main.cpp:54:2: error: 'cout' was not declared in this scope
54 | cout<<s%10;
| ^~~~
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;