Problem area
User Elnathan
Submission Time 2023-05-03 17:19:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:5:55: error: expected ‘;’ before ‘long’
5 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
| ^
| ;
6 | long long int n, length, breadth, sum = 0;
| ~~~~
area.cpp:7:9: error: ‘n’ was not declared in this scope
7 | cin >> n;
| ^
area.cpp:9:10: error: ‘length’ was not declared in this scope
9 | cin >> length >> breadth;
| ^~~~~~
area.cpp:9:20: error: ‘breadth’ was not declared in this scope; did you mean ‘fread’?
9 | cin >> length >> breadth;
| ^~~~~~~
| fread
area.cpp:10:3: error: ‘sum’ was not declared in this scope
10 | sum += length * breadth;
| ^~~
area.