Problem | area |
---|---|
User | Manish |
Submission Time | 2024-06-19 09:49:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp: In function ‘int main()’:
area.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin >> N;
| ^~~
area.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 |
area.cpp:22:5: error: ‘cout’ was not declared in this scope
22 | cout << total_area << endl;
| ^~~~
area.cpp:22:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
area.cpp:22:27: error: ‘endl’ was not declared in this scope
22 | cout << total_area << endl;
| ^~~~
area.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 |