Borderou de evaluare (job #674823)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile 2 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 nov. 2022 17:10:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:9: error: 'cin' was not declared in this scope
14 | cin >> n;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:89:17: error: 'cout' was not declared in this scope
89 | cout << "imposibil";
| ^~~~
main.cpp:89:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:93:13: error: 'cout' was not declared in this scope
93 | cout << "IO";
| ^~~~
main.cpp:93:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:97:25: error: 'cout' was not declared in this scope
97 | cout << c[i];
| ^~~~
main.cpp:97:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?