Borderou de evaluare (job #583770)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Speciale (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 feb. 2021 15:28:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:5: error: 'cin' was not declared in this scope
25 | cin>>p;
| ^~~
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:33:9: error: 'cout' was not declared in this scope
33 | cout<<nr;
| ^~~~
main.cpp:33:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:56:9: error: 'cout' was not declared in this scope
56 | cout<<cnt;
| ^~~~
main.cpp:56:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:66:17: error: 'cout' was not declared in this scope
66 | cout<<cn/(put*10)*put+cn%put;
| ^~~~
main.cpp:66:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:73:9: error: 'cout' was not declared in this scope
73 | cout<<0;
| ^~~~
main.cpp:73:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?