Submission #511142

#TimeUsernameProblemLanguageResultExecution timeMemory
511142Salama짝수 정렬 (tutorial3)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include <grader.h> using namespace std; int z[100000]; void q2(int x,int *q){ int d=0; for(int o=0;o<x;o++){ if(q[o]%2==0){z[d]=q[o]; d++;}} sort(z,z+d); for(int o=0;o<d;o++)Report (z[o]); }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc4GiqtM.o: in function `main':
grader.cpp:(.text.startup+0xb3): undefined reference to `sort_even(int, int*)'
collect2: error: ld returned 1 exit status