Problem | exam |
---|---|
User | Subz3r0 |
Submission Time | 2023-03-10 15:16:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:3:7: error: ‘cin’ is not a member of ‘std’
3 | std::cin >> a;
| ^~~
exam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main() {
exam.cpp:5:8: error: ‘cout’ is not a member of ‘std’
5 | std::cout << "Hello World";
| ^~~~
exam.cpp:5:8: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exam.cpp:9:8: error: ‘cin’ is not a member of ‘std’
9 | std::cin >> b >> c;
| ^~~
exam.cpp:9:8: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exam.cpp:10:8: error: ‘cout’ is not a member of ‘std’
10 | std::cout << b * c;
| ^~~~
exam.cpp:10:8: note: ‘std::cout’ is defined in header ‘&l