Borderou de evaluare (job #737289)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cepe digitale (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 oct. 2023 16:40:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:63:3: error: 'cin' was not declared in this scope
63 | cin >> vc1 >> vc2;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:75:11: error: 'cout' was not declared in this scope
75 | cout << c1[k];
| ^~~~
main.cpp:75:11: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:77:9: error: 'cout' was not declared in this scope
77 | cout << '\n';
| ^~~~
main.cpp:77:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?