Skip to content

Instantly share code, notes, and snippets.

Aleš Lekše alesl

Block or report user

Report or block alesl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View naive_code_gen.php
<?php
$len = 4;
$rand_fun = 'mt_rand';
$usedCodes = array();
$found = 0;
$max = pow(10, $len);
$prevSteps = 0;
$steps = 0;
You can’t perform that action at this time.