Problem | area |
---|---|
User | CookieCoder |
Submission Time | 2025-02-24 15:39:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp: In function ‘int main()’:
area.cpp:4:7: error: ‘cin’ is not a member of ‘std’
4 | std::cin >> n;
| ^~~
area.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main()
area.cpp:10:8: error: ‘cin’ is not a member of ‘std’
10 | std::cin >> A >> B;
| ^~~
area.cpp:10:8: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
area.cpp:14:7: error: ‘cout’ is not a member of ‘std’
14 | std::cout << counter;
| ^~~~
area.cpp:14:7: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?