답안 #713819

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
713819 2023-03-23T05:46:18 Z Dulguun88 Baloni (COCI15_baloni) C++14
0 / 100
185 ms 7216 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+1;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Incorrect 1 ms 212 KB Output isn't correct
3 Incorrect 1 ms 212 KB Output isn't correct
4 Incorrect 2 ms 340 KB Output isn't correct
5 Incorrect 168 ms 6976 KB Output isn't correct
6 Incorrect 185 ms 7216 KB Output isn't correct
7 Incorrect 143 ms 5956 KB Output isn't correct
8 Incorrect 145 ms 5928 KB Output isn't correct
9 Incorrect 152 ms 6472 KB Output isn't correct
10 Incorrect 155 ms 6584 KB Output isn't correct