😥 #include <bits/stdc++.h> using namespace std; int main(){ int n,t; cin >>n; vector<long long>a; for (int j = 0; j <n ; ++j) {cin >>t;a.push_back(t);} int end,l=0; for(int begin=0;begin<n-1;begin++){ int i=begin+1; end=begin; if(a[i]>a[i-1]){ while (i<n){ ...