prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main main.cpp selection.cpp
selection.cpp: In function 'int partitioning_inplace_d(int*, int, int, int)':
selection.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
selection.cpp: In function 'int partitioning_inplace(int*, int, int)':
selection.cpp:124:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
selection.cpp: In function 'int Dselect(int*, int, int)':
selection.cpp:39:56: warning: 'pivotat' may be used uninitialized in this function [-Wmaybe-uninitialized]
else return Dselect(array+pivotat+1, n-pivotat-1, i-pivotat-1);
~^~~~~~~~
finished
clean (3/3):
finished
all task finished, build successfully