Problem area
User om2024
Submission Time 2024-06-19 10:53:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:15:19: error: request for member ‘first’ in ‘arr’, which is of non-class type ‘int [n]’
15 | int z = z + arr.first() * arr.second()
| ^~~~~
area.cpp:15:33: error: request for member ‘second’ in ‘arr’, which is of non-class type ‘int [n]’
15 | int z = z + arr.first() * arr.second()
| ^~~~~~