Submission #563

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

Compilation message (stderr)

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