Problem flows
User aj
Submission Time 2025-11-18 23:38:05
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:47: error: expected ‘;’ before ‘cout’
28 | border_heights[j]=current_water_height
| ^
| ;
29 | cout<<t<<" ";
| ~~~~