Skip to content

Instantly share code, notes, and snippets.

Aleš Lekše alesl

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.