# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
434504 |
2021-06-21T11:17:19 Z |
EncryptingWolf |
최댓값 (tutorial2) |
C++14 |
|
1000 ms |
324 KB |
#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 |
1 |
Execution timed out |
1020 ms |
324 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
1068 ms |
288 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |