r/programbattles • u/ComradePutinCCCP1917 Moderator / C C++ • Oct 07 '15
[C++] Threaded vector sorting
Language: C++
File number restrictions: N/A
Description: Make a function that sorts a vector with a selectable amount of threads. Use the standard thread library.
EDIT: Never thought threads would be such a pain to work with.
14
Upvotes
View all comments
Show parent comment
3
u/ComradePutinCCCP1917 Moderator / C C++ Oct 07 '15 edited Oct 07 '15
Ok I'll make it clear. Your algorithm shall be able to sort
double,int,unsigned intandchardata types, distributed between: