Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: Kidmaiok
Problemset: ปริมาตรน้ำท่วม
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-11 11:36:29
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,result = 0,x;
vector<int> height;
cin >> n;
for(int i = 0;i<n;i++){
cin >> x;
height.push_back(x);
}
int left = height[0] , right = height[n-1] , current,water = 0,lmax = 0,rmax = 0;
for(int i = 0;i<n;i++){
}
cout << "-";
}