Submission #145785

#TimeUsernameProblemLanguageResultExecution timeMemory
145785xxxxorb0221최댓값 (tutorial2)C++14
Compilation error
0 ms0 KiB
#include<cstdio> #include<algorithm> using namespace std; int Getmax(int N,int *A){ int ans=A[0]; for(int i=0;i<N;i++) ans=max(ans,A[i]); return ans; }

Compilation message (stderr)

/tmp/ccznVzTu.o: In function `main':
grader.cpp:(.text.startup+0x97): undefined reference to `GetMax(int, int*)'
collect2: error: ld returned 1 exit status