Problem area
User lleytonng
Submission Time 2024-06-19 09:33:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:3:1: error: ‘cin’ was not declared in this scope
3 | cin >> n;
| ^~~
area.cpp:10:1: error: ‘cout’ was not declared in this scope
10 | cout << sum;
| ^~~~