Submission #713820

#TimeUsernameProblemLanguageResultExecution timeMemory
713820Dulguun88Baloni (COCI15_baloni)C++14
0 / 100
172 ms3764 KiB
#include<bits/stdc++.h> using namespace std; int main(){ int n,cnt=0;; cin>>n; vector<int> v(n); for(int i=0 ; i<n ; i++) cin>>v[i]; for(int i=0 ; i<n ; i++){ if(v[i]<v[i+1]) cnt++; } cout<<cnt; }
#Verdict Execution timeMemoryGrader output
Fetching results...