Submission

Status:

-PP--P----

Subtask/Task Score:

30/100

Score: 30

User: Kidmaiok

Problemset: ปริมาตรน้ำท่วม

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-11 11:37:18

#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 << "0";
}