Problem | area_noi |
---|---|
User | hadi |
Submission Time | 2024-06-08 13:54:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:5:7: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> n;
| ^~~
area_noi.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <vector>
+++ |+#include <iostream>
2 |
area_noi.cpp:13:8: error: ‘cin’ is not a member of ‘std’
13 | std::cin >> new_h;
| ^~~
area_noi.cpp:13:8: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
area_noi.cpp:14:8: error: ‘cin’ is not a member of ‘std’
14 | std::cin >> new_w;
| ^~~
area_noi.cpp:14:8: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
area_noi.cpp:29:7: error: ‘cout’ is not a member of ‘std’
29 | std::cout << largest_area;
| ^~~~
area_noi.cpp