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

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:13:16: error: ‘x’ was not declared in this scope
13 | int z; cin >> x;
| ^
area.cpp:15:19: error: ‘i’ was not declared in this scope
15 | int z = z + arr[i] * arr[x]
| ^