# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
506095 |
2022-01-11T15:20:41 Z |
MurotY |
Baloni (COCI15_baloni) |
C++14 |
|
178 ms |
9272 KB |
#include<bits/stdc++.h>
#define ios ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define ll long long
#define ff first
#define ss second
using namespace std;
const int N=1e6+7;
ll a[N];
int main()
{
ll n;
cin >> n;
for (int i=1;i<=n;i++){
cin >> a[i];
}
ll ans=1;
for (int i=1;i<n;i++){
if (a[i] < a[i+1]) ans++;
}
cout << ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
216 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
332 KB |
Output isn't correct |
5 |
Incorrect |
174 ms |
8316 KB |
Output isn't correct |
6 |
Incorrect |
178 ms |
9272 KB |
Output isn't correct |
7 |
Incorrect |
156 ms |
7348 KB |
Output isn't correct |
8 |
Incorrect |
169 ms |
7276 KB |
Output isn't correct |
9 |
Incorrect |
166 ms |
7828 KB |
Output isn't correct |
10 |
Incorrect |
157 ms |
8132 KB |
Output isn't correct |