Random solutions to programming problems