Borderou de evaluare (job #665157)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifra2 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 sept. 2022 11:27:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:10: error: 'cin' is not a member of 'std'
18 | std::cin >> n;
| ^~~
main.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <cmath>
+++ |+#include <iostream>
3 |
main.cpp:43:10: error: 'cout' is not a member of 'std'
43 | std::cout << cifMin << '\n' << nrDPS << '\n' << n;
| ^~~~
main.cpp:43:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?