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 <bits/stdc++.h>
using namespace std;
int GetMax(int N, int *A) {
int mx = -1;
for (int i = 0; i < N; ++i) {
mx = max(mx,A[i]);
}
long long num = 2e9;
long long a = 1;
long long b = 1;
for (int i = 0; i< num; i++)
{
long long c = a+b;
a = b;
b = c;
}
std::cerr << b;
return mx;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |