Submission #434501

#TimeUsernameProblemLanguageResultExecution timeMemory
434501EncryptingWolf최댓값 (tutorial2)C++14
100 / 100
546 ms288 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 = 1e9; 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...