Problem area_noi
User trollSecOps
Submission Time 2024-02-23 16:57:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:20:38: error: ‘weights’ was not declared in this scope; did you mean ‘heights’?
20 | prevmax = heights[i]*weights[i];
| ^~~~~~~
| heights