Problem flows
User aj
Submission Time 2025-11-18 23:37:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flows.cpp: In function ‘int main()’:
flows.cpp:22:13: error: ‘heights’ was not declared in this scope
22 | if (heights[j]>max_height){
| ^~~~~~~
flows.cpp:28:9: error: ‘heights’ was not declared in this scope
28 | heights[i]=current_water_height
| ^~~~~~~
flows.cpp:28:17: error: ‘i’ was not declared in this scope
28 | heights[i]=current_water_height
| ^