Submission #564

#TimeUsernameProblemLanguageResultExecution timeMemory
564gs13068최댓값 (tutorial2)C++98
Compilation error
0 ms0 KiB
int max(int n,int *a) { int i,m=0; for(i=0;i<n;i++)if(a[i]>m)m=a[i]; return m; }

Compilation message (stderr)

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