# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
713820 | Dulguun88 | Baloni (COCI15_baloni) | C++14 | 172 ms | 3764 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |