Forgot to allocate the generated numbers in the generator so that they don't repeat

This commit is contained in:
2026-09-13 21:41:30 +03:00
parent 741d4956a0
commit ab7e716c59
+2
View File
@@ -13,6 +13,8 @@ int ImplGenerator::get_next_num()
}
while (already_generated_numbers.count(num) > 0);
already_generated_numbers.emplace(num);
internal_counter++;
return num;