You are reporting the paste Roulette wheel selection algorithm c++ example.