Код: Выделить всё
public static long random(long min, long max, int step) {
if (step
Подробнее здесь: [url]https://stackoverflow.com/questions/79187855/how-to-generate-a-value-between-min-and-max-by-step-but-avoid-an-arithmetic-ove[/url]Код: Выделить всё
public static long random(long min, long max, int step) {
if (step
Подробнее здесь: [url]https://stackoverflow.com/questions/79187855/how-to-generate-a-value-between-min-and-max-by-step-but-avoid-an-arithmetic-ove[/url]