Borderou de evaluare (job #792628)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 nov. 2024 00:44:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:16: error: 'cout' was not declared in this scope
19 | if (ok==1) cout<<"DA"<<endl;
| ^~~~
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:20:10: error: 'cout' was not declared in this scope
20 | else cout<<"NU"<<endl;
| ^~~~
main.cpp:20:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:21:5: error: 'cout' was not declared in this scope
21 | cout<<cnto<<endl<<cnts<<endl;
| ^~~~
main.cpp:21:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?