Problem | area |
---|---|
User | AdamAdnan1C |
Submission Time | 2024-06-24 17:01:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp: In function ‘int main()’:
area.cpp:2:5: error: ‘ios’ has not been declared
2 | ios::sync_with_stdio(false); // Disable sync with C-style I/O for faster input
| ^~~
area.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin.tie(nullptr); // Untie cin from cout for faster input
| ^~~
area.cpp:15:5: error: ‘cout’ was not declared in this scope
15 | cout << total_area << endl; // Output the total area
| ^~~~
area.cpp:15:27: error: ‘endl’ was not declared in this scope
15 | cout << total_area << endl; // Output the total area
| ^~~~