This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
using namespace std;
typedef long long ll;
ll all_nums[1000001];
int main(){
ll n,very_greedy=1;
cin>>n;
cin>>all_nums[0];
for(ll i=1;i<n;i++){
cin>>all_nums[i];
if(all_nums[i]<all_nums[i-1])very_greedy++;
}
cout<<n<<endl;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |