Submission #434504

#TimeUsernameProblemLanguageResultExecution timeMemory
434504EncryptingWolf최댓값 (tutorial2)C++14
0 / 100
1068 ms324 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...