Problem | area |
---|---|
User | Javel17 |
Submission Time | 2024-06-19 10:39:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp: In function ‘int main()’:
area.cpp:6:10: error: expected ‘;’ before ‘long’
6 | cin >> N
| ^
| ;
7 | long long totalarea = 0;
| ~~~~
area.cpp:8:2: error: ‘arr’ was not declared in this scope
8 | arr[3];
| ^~~
area.cpp:12:3: error: ‘totalarea’ was not declared in this scope; did you mean ‘totalorder’?
12 | totalarea += static_cast<long long> A*B;
| ^~~~~~~~~
| totalorder
area.cpp:12:39: error: expected ‘(’ before ‘A’
12 | totalarea += static_cast<long long> A*B;
| ^
| (
area.cpp:12:42: error: expected ‘)’ before ‘;’ token
12 | totalarea += static_cast<long long> A*B;
| ^
| )
area.cpp:14:10: error: ‘totalarea’ was not