Submission #713820

# Submission time Handle Problem Language Result Execution time Memory
713820 2023-03-23T05:46:41 Z Dulguun88 Baloni (COCI15_baloni) C++14
0 / 100
172 ms 3764 KB
#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
1 Incorrect 1 ms 212 KB Output isn't correct
2 Incorrect 1 ms 212 KB Output isn't correct
3 Incorrect 2 ms 212 KB Output isn't correct
4 Incorrect 2 ms 212 KB Output isn't correct
5 Incorrect 168 ms 3388 KB Output isn't correct
6 Incorrect 172 ms 3764 KB Output isn't correct
7 Incorrect 147 ms 3164 KB Output isn't correct
8 Incorrect 144 ms 3112 KB Output isn't correct
9 Incorrect 151 ms 3284 KB Output isn't correct
10 Incorrect 151 ms 3412 KB Output isn't correct