# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
382805 |
2021-03-28T08:38:11 Z |
Sashuk_keshuk |
Po (COCI21_po) |
C++14 |
|
43 ms |
1644 KB |
#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 228;
int n, a[N];
int main(){
cin >> n;
for (int i = 1; i <= n; i++) cin >> a[i];
a[0] = -99999;
int kol = 0;
for (int i = 1; i <= n; i++) if (a[i] > a[i - 1]) kol++;
cout << kol;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
4 |
Incorrect |
10 ms |
620 KB |
Output isn't correct |
5 |
Incorrect |
15 ms |
748 KB |
Output isn't correct |
6 |
Correct |
43 ms |
1644 KB |
Output is correct |
7 |
Incorrect |
43 ms |
1644 KB |
Output isn't correct |