# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1112347 |
2024-11-14T06:10:12 Z |
vjudge1 |
Baloni (COCI15_baloni) |
C++17 |
|
49 ms |
10820 KB |
#include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n;
cin>>n;
int a[n];
int cnt=1;
for(int i=0;i<n;i++)cin>>a[i];
for(int i=1;i<n;i++)if(a[i]>=a[i-1])cnt++;
cout<<cnt;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
336 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
508 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
336 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
676 KB |
Output isn't correct |
5 |
Incorrect |
49 ms |
10080 KB |
Output isn't correct |
6 |
Incorrect |
48 ms |
10820 KB |
Output isn't correct |
7 |
Incorrect |
45 ms |
8968 KB |
Output isn't correct |
8 |
Incorrect |
39 ms |
8784 KB |
Output isn't correct |
9 |
Incorrect |
46 ms |
9544 KB |
Output isn't correct |
10 |
Incorrect |
43 ms |
9808 KB |
Output isn't correct |