Skip to content
Snippets Groups Projects
Commit fcd69401 authored by chafiol's avatar chafiol
Browse files

WIP: soustrirapideinsertion

parent 47e80ca6
No related merge requests found
#include "triRapideInsertion.h" #include "triRapideInsertion.h"
#include "triInsertion.h" #include "triInsertion.h"
void sousTriRapide(long* A, size_t p, size_t r) { void sousTriRapideInsertion(long* A, size_t p, size_t r) {
size_t max = 0; max--; size_t max = 0; max--;
if(r-1 != max){ if(r-1 != max){
if (p<(r-1)) { if (p<(r-1)) {
......
...@@ -17,6 +17,6 @@ ...@@ -17,6 +17,6 @@
void triRapideInsertion(long* A, size_t n); void triRapideInsertion(long* A, size_t n);
size_t partition_wInsertion(long* A, size_t p, size_t r); size_t partition_wInsertion(long* A, size_t p, size_t r);
void sousTriRapide(long* A, size_t p, size_t r) ; void sousTriRapideInsertion(long* A, size_t p, size_t r) ;
#endif #endif
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment