Вот фрагмент моего кода, в котором есть логическая ошибка.
Код: Выделить всё
srand(time(0));
const int dice = 5;
int rolls = 1;
int reroll = 1;
int whichone[dice];
int combination[dice];
do
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79000910/yahtzee-game-third-roll-numbers-always-the-same-as-the-last[/url]