Borderou de evaluare (job #579073)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puteri | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 ian. 2021 18:19:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:9: error: 'cout' was not declared in this scope
13 | cout << 1 << '\n' << 1;
| ^~~~
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:15:9: error: 'cout' was not declared in this scope
15 | cout << 2 << '\n' << 1;
| ^~~~
main.cpp:15:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?