# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1112376 | 2024-11-14T06:59:07 Z | vjudge1 | Baloni (COCI15_baloni) | C++17 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; int main(){ int n,s=1; cin>>n; int h[n]; for(int i=0;i<n;i++) cin>>h[n]; for(int i=1;i<n;i++){ if(h[i-1]<h[i]) s++ } cout<<s; }