# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1112358 |
2024-11-14T06:29:51 Z |
vjudge1 |
Baloni (COCI15_baloni) |
C++17 |
|
116 ms |
3664 KB |
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int say=0;
int a[n];
for(int i=0;i<n;i++){
cin>>a[i];
}
int mx=0;
for(int i=0;i<n;i++){
if(mx<a[i]){
mx=a[i];
say++;
}
}
cout<<say;
return 0;
}
# |
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 |
1 ms |
336 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
336 KB |
Output isn't correct |
5 |
Incorrect |
104 ms |
3512 KB |
Output isn't correct |
6 |
Incorrect |
116 ms |
3664 KB |
Output isn't correct |
7 |
Incorrect |
85 ms |
3152 KB |
Output isn't correct |
8 |
Incorrect |
85 ms |
3252 KB |
Output isn't correct |
9 |
Incorrect |
96 ms |
3408 KB |
Output isn't correct |
10 |
Incorrect |
96 ms |
3408 KB |
Output isn't correct |