Submission #1112378

#TimeUsernameProblemLanguageResultExecution timeMemory
1112378vjudge1Baloni (COCI15_baloni)C++17
0 / 100
121 ms3664 KiB
#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; }
#Verdict Execution timeMemoryGrader output
Fetching results...