# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1112378 |
2024-11-14T06:59:44 Z |
vjudge1 |
Baloni (COCI15_baloni) |
C++17 |
|
121 ms |
3664 KB |
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,s=1;
cin>>n;
int h[n];
for(int i=0;i<n;i++)
cin>>h[n];
for(int i=1;i<n;i++){
if(h[i-1]<h[i])
s++;
}
cout<<s;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
336 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
336 KB |
Output isn't correct |
3 |
Incorrect |
2 ms |
336 KB |
Output isn't correct |
4 |
Incorrect |
2 ms |
336 KB |
Output isn't correct |
5 |
Incorrect |
121 ms |
3424 KB |
Output isn't correct |
6 |
Incorrect |
109 ms |
3664 KB |
Output isn't correct |
7 |
Incorrect |
85 ms |
3152 KB |
Output isn't correct |
8 |
Incorrect |
87 ms |
3320 KB |
Output isn't correct |
9 |
Incorrect |
95 ms |
3408 KB |
Output isn't correct |
10 |
Incorrect |
93 ms |
3520 KB |
Output isn't correct |